summaryrefslogtreecommitdiff
path: root/ldmicro/ldmicro.cpp
diff options
context:
space:
mode:
authorRr422018-05-30 16:57:42 +0530
committerRr422018-05-30 16:57:42 +0530
commit8f1f63ff88e62cb47cad286481033275e8490650 (patch)
tree5e5711fb6434e39e0932076438b73b46f098d52b /ldmicro/ldmicro.cpp
parenteb8f6932fe45f550bc2b77c1b3e578884ed60d91 (diff)
downloadLDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.gz
LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.bz2
LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.zip
ported GetSaveFileName function from windows.h
Diffstat (limited to 'ldmicro/ldmicro.cpp')
-rw-r--r--ldmicro/ldmicro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp
index ca86246..984ffbb 100644
--- a/ldmicro/ldmicro.cpp
+++ b/ldmicro/ldmicro.cpp
@@ -148,7 +148,7 @@ static void CompileProgram(BOOL compileAs)
memset(&ofn, 0, sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
- ofn.hInstance = Instance;
+ ofn.parentWindow = parentWindow;
ofn.lpstrTitle = _("Compile To");
if(Prog.mcu && Prog.mcu->whichIsa == ISA_ANSIC) {
ofn.lpstrFilter = C_PATTERN;