summaryrefslogtreecommitdiff
path: root/plugins/Variables/help.cpp
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2012-06-30 15:24:11 +0000
committerVlad Mironov <mironych@googlemail.com>2012-06-30 15:24:11 +0000
commit008fe34954b0bda8fd3487a9658c14581ecd813a (patch)
treef546ed4196e4a09311bf19878ff6e7d1af772d4c /plugins/Variables/help.cpp
parent14f435dc730cf2b242cae1cc2a2f4d4c2a65162e (diff)
Наводим порядок.
git-svn-id: http://svn.miranda-ng.org/main/trunk@695 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/help.cpp')
-rw-r--r--plugins/Variables/help.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Variables/help.cpp b/plugins/Variables/help.cpp
index 5231294de3..569fcaf7b2 100644
--- a/plugins/Variables/help.cpp
+++ b/plugins/Variables/help.cpp
@@ -677,7 +677,7 @@ static INT_PTR CALLBACK inputDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM
ZeroMemory(dat, sizeof(INPUTDLGDATA));
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)dat);
// splitter things
- dat->splitterPos = (int)db_getd(SETTING_SPLITTERPOS, -1);
+ dat->splitterPos = (INT_PTR)db_getd(SETTING_SPLITTERPOS, -1);
{
RECT rc;
POINT pt;
@@ -1319,7 +1319,7 @@ INT_PTR getSkinItemService(WPARAM wParam, LPARAM lParam)
{
int item = lParam;
if (item == 0)
- return (int)NULL;
+ return (INT_PTR)NULL;
switch (item) {
case VSI_HELPICON:
@@ -1331,13 +1331,13 @@ INT_PTR getSkinItemService(WPARAM wParam, LPARAM lParam)
hHelpIcon = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_V), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0);
}
- return (int)hHelpIcon;
+ return (INT_PTR)hHelpIcon;
case VSI_HELPTIPTEXT:
- return (int)Translate("Open String Formatting Help");
+ return (INT_PTR)Translate("Open String Formatting Help");
}
- return (int)NULL;
+ return (INT_PTR)NULL;
}
int iconsChanged(WPARAM wParam, LPARAM lParam)