summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 22c1fd7..1ab11aa 100644
--- a/main.cpp
+++ b/main.cpp
@@ -155,6 +155,7 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM
pxExecute(&cmd, "", &out, &code);
DBWriteContactSettingString(NULL, szModuleName, "GPGPubKey", out.c_str());
}
+ DBWriteContactSettingByte(NULL, szModuleName, "FirstRun", 0);
DestroyWindow(hwndDlg);
break;
}
@@ -209,5 +210,4 @@ void FirstRun()
if(!DBGetContactSettingByte(NULL, szModuleName, "FirstRun", 1))
return;
ShowFirstRunDialog();
- DBWriteContactSettingByte(NULL, szModuleName, "FirstRun", 0);
}