summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-13 00:41:24 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-13 00:41:24 +0300
commitbbc0a43dd52f35129599fa9774f52fc7ad8d089e (patch)
treebe36ea6eff1f9e0f54142b9995cba5125f3730b3 /main.cpp
parent1c90e6b0df2d7c9c723dfa0c64f07a002ba1507f (diff)
modified: main.cpp
modified: messages.cpp modified: new_gpg.icproj modified: new_gpg.vcproj
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);
}