summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/calendartool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/calendartool.cpp')
-rw-r--r--plugins/NewStory/src/calendartool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/calendartool.cpp b/plugins/NewStory/src/calendartool.cpp
index 3d1e118fe7..f45e125bcc 100644
--- a/plugins/NewStory/src/calendartool.cpp
+++ b/plugins/NewStory/src/calendartool.cpp
@@ -1,4 +1,4 @@
-#include "headers.h"
+#include "stdafx.h"
struct CalendarToolData
{
@@ -87,5 +87,5 @@ time_t CalendarTool_Show(HWND hwnd, int x, int y)
// HWND hwndTool = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_CALENDARTOOL), 0, CalendarToolDlgProc, (LPARAM)data);
// ShowWindow(hwndTool, SW_SHOWNORMAL);
- return DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_CALENDARTOOL), 0, CalendarToolDlgProc, (LPARAM)data);
+ return DialogBoxParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_CALENDARTOOL), 0, CalendarToolDlgProc, (LPARAM)data);
} \ No newline at end of file