diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);
}
|