summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src/PasteToWeb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PasteIt/src/PasteToWeb.cpp')
-rw-r--r--plugins/PasteIt/src/PasteToWeb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PasteIt/src/PasteToWeb.cpp b/plugins/PasteIt/src/PasteToWeb.cpp
index 69871d9cd1..92e84798ff 100644
--- a/plugins/PasteIt/src/PasteToWeb.cpp
+++ b/plugins/PasteIt/src/PasteToWeb.cpp
@@ -189,7 +189,7 @@ INT_PTR CALLBACK DlgProcFromFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
if(Options::instance->webOptions[fromFileData->page]->isSendFileName)
{
bool sendFileName = Options::instance->webOptions[fromFileData->page]->sendFileName;
- CheckDlgButton(hwndDlg, IDC_AUTOFORMAT, sendFileName ? 1 : 0);
+ CheckDlgButton(hwndDlg, IDC_AUTOFORMAT, sendFileName ? BST_CHECKED : BST_UNCHECKED);
Button_Enable(GetDlgItem(hwndDlg, IDC_FORMAT), sendFileName ? 0 : 1);
Button_Enable(GetDlgItem(hwndDlg, IDC_FORMATTEXT), sendFileName ? 0 : 1);
}