diff options
Diffstat (limited to 'plugins/Clist_nicer/src/CLCButton.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/CLCButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/CLCButton.cpp b/plugins/Clist_nicer/src/CLCButton.cpp index 5cbf3fd6d6..a01c7b45bd 100644 --- a/plugins/Clist_nicer/src/CLCButton.cpp +++ b/plugins/Clist_nicer/src/CLCButton.cpp @@ -390,7 +390,7 @@ static LRESULT CALLBACK TSButtonWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR break;
case WM_SETTEXT:
- _tcsncpy_s(bct->szText, SIZEOF(bct->szText), (TCHAR*)lParam, _TRUNCATE);
+ _tcsncpy_s(bct->szText, (TCHAR*)lParam, _TRUNCATE);
break;
case BM_GETIMAGE:
|