summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-02 16:19:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-02 16:19:30 +0000
commit0e14b7aba9e4e1b6ad295ad958359966495c0cdd (patch)
tree706f15409d99ff8b9e3b828fb2c4075ad3ba8e09 /plugins
parent73e845791e821acfdb0cc74f22e486ab7c4bfe29 (diff)
fix for 'chinese' in NimContact
git-svn-id: http://svn.miranda-ng.org/main/trunk@4290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Non-IM Contact/src/files.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Non-IM Contact/src/files.cpp b/plugins/Non-IM Contact/src/files.cpp
index 5fdc819604..cdf17aed7c 100644
--- a/plugins/Non-IM Contact/src/files.cpp
+++ b/plugins/Non-IM Contact/src/files.cpp
@@ -136,7 +136,7 @@ void readFile(HWND hwnd)
temp[strlen(temp)-1]='\0';
else temp[strlen(temp)]='\0';
wsprintfA( temp1, Translate("line(%-3d) = | %s"), lineNumber, temp);
- SendMessage(GetDlgItem(hwnd, IDC_FILE_CONTENTS),LB_ADDSTRING,0,(LPARAM)(char*)temp1);
+ SendMessageA(GetDlgItem(hwnd, IDC_FILE_CONTENTS),LB_ADDSTRING,0,(LPARAM)(char*)temp1);
lineNumber++;
fileLength++;
if ((unsigned int)SendMessage(GetDlgItem(hwnd, IDC_FILE_CONTENTS),LB_GETHORIZONTALEXTENT,0,0) <= (strlen(temp1)*db_get_b(NULL, MODNAME, "WidthMultiplier", 5)))
@@ -232,7 +232,7 @@ INT_PTR CALLBACK DlgProcFiles(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (Openfile(file,1))
{
db_set_s(NULL, MODNAME, fn, file);
- index = SendMessage(GetDlgItem(hwnd, IDC_FILE_LIST),CB_ADDSTRING,0,(LPARAM)(char*)file);
+ index = SendMessageA(GetDlgItem(hwnd, IDC_FILE_LIST),CB_ADDSTRING,0,(LPARAM)(char*)file);
SendMessage(GetDlgItem(hwnd, IDC_FILE_LIST),CB_SETITEMDATA,index,(LPARAM)(int)i);
SendMessage(GetDlgItem(hwnd, IDC_FILE_LIST),CB_SETCURSEL, index ,0);
SetDlgItemTextA(hwnd, IDC_FN, _itoa(i, fn, 10));