summaryrefslogtreecommitdiff
path: root/plugins/BuddyPounce/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BuddyPounce/src/dialog.cpp')
-rw-r--r--plugins/BuddyPounce/src/dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BuddyPounce/src/dialog.cpp b/plugins/BuddyPounce/src/dialog.cpp
index 64f3400f94..df0e873783 100644
--- a/plugins/BuddyPounce/src/dialog.cpp
+++ b/plugins/BuddyPounce/src/dialog.cpp
@@ -1,4 +1,4 @@
-#include "headers.h"
+#include "stdafx.h"
void populateSettingsList(HWND hwnd2List)
{
@@ -44,7 +44,6 @@ void saveLastSetting(MCONTACT hContact, HWND hwnd)
GetDlgItemText(hwnd, IDC_SETTINGNUMBER, number, SIZEOF(number));
db_set_b(hContact, modname, "GiveUpDays", (BYTE)_ttoi(number));
{
- time_t today = time(NULL);
db_set_dw(hContact, modname, "GiveUpDate", (DWORD)(_ttoi(number)*SECONDSINADAY));
}
break;