diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-07-15 05:23:02 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-07-15 05:23:02 +0000 |
commit | 6a1d466d31fd9c3b29b6ee8fa9bebe5fa0c08f6d (patch) | |
tree | 3d5a9fb361cc297c1d6867ae80515cfa7b09c446 /meta2/select_meta.cpp | |
parent | 1aeb250607a6e3c6be01c73666a17eaf9d3c6b45 (diff) |
another tip from Drugwash - remove SendMessageW calls
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@425 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/select_meta.cpp')
-rw-r--r-- | meta2/select_meta.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta2/select_meta.cpp b/meta2/select_meta.cpp index 0e71cb1..8e8dcd6 100644 --- a/meta2/select_meta.cpp +++ b/meta2/select_meta.cpp @@ -23,10 +23,10 @@ void FillList(HWND list, bool sort) int j;
TCHAR buff[1024];
for(j = 0; j < count; j++) {
- SendMessageW(list, LB_GETTEXT, j, (LPARAM)buff);
+ SendMessage(list, LB_GETTEXT, j, (LPARAM)buff);
if(_tcscmp(buff, szCDN) > 0) break;
}
- index = SendMessageW(list, LB_INSERTSTRING, (WPARAM)j, (LPARAM)szCDN);
+ index = SendMessage(list, LB_INSERTSTRING, (WPARAM)j, (LPARAM)szCDN);
} else
index = SendMessage(list, LB_INSERTSTRING, (WPARAM)-1, (LPARAM)szCDN);
SendMessage(list, LB_SETITEMDATA, (WPARAM)index, (LPARAM)hContact);
|