diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-01 18:28:34 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-01 18:28:34 +0000 |
commit | cbf1506b70dfa0e5e6a7ef9107b6e0f127d7724e (patch) | |
tree | b18be90af26ce3b1dde1a27502a36c1704ba6358 /plugins/NewXstatusNotify | |
parent | ce745b5c14b000c3aec9b9c92769da5adebda5e9 (diff) |
NewXStatusNotify:
- minor bugfixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12293 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r-- | plugins/NewXstatusNotify/src/indsnd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/indsnd.cpp b/plugins/NewXstatusNotify/src/indsnd.cpp index 66f761b171..97bc48a102 100644 --- a/plugins/NewXstatusNotify/src/indsnd.cpp +++ b/plugins/NewXstatusNotify/src/indsnd.cpp @@ -63,7 +63,7 @@ TCHAR *SelectSound(HWND hwndDlg, TCHAR *buff, size_t bufflen) OPENFILENAME ofn = { 0 };
HWND hList = GetDlgItem(hwndDlg, IDC_INDSNDLIST);
- ListView_GetItemText(hList, ListView_GetNextItem(hList, -1, LVNI_SELECTED), 1, buff, SIZEOF(buff));
+ ListView_GetItemText(hList, ListView_GetNextItem(hList, -1, LVNI_SELECTED), 1, buff, bufflen);
if (_tcscmp(buff, TranslateT(DEFAULT_SOUND)) == 0)
buff = NULL;
|