diff options
Diffstat (limited to 'plugins/SendScreenshotPlus/src/ctrl_button.cpp')
| -rw-r--r-- | plugins/SendScreenshotPlus/src/ctrl_button.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/ctrl_button.cpp b/plugins/SendScreenshotPlus/src/ctrl_button.cpp index 3e7a04beb8..83ab8907ca 100644 --- a/plugins/SendScreenshotPlus/src/ctrl_button.cpp +++ b/plugins/SendScreenshotPlus/src/ctrl_button.cpp @@ -550,7 +550,7 @@ static LRESULT CALLBACK Button_WndProc(HWND hwndBtn, UINT uMsg, WPARAM wParam, L  	case BUTTONTRANSLATE:  		{  			TCHAR szButton[MAX_PATH]; -			GetWindowText(bct->hwnd, szButton, MAX_PATH); +			GetWindowText(bct->hwnd, szButton, SIZEOF(szButton));  			SetWindowText(bct->hwnd, TranslateTS(szButton));  		}  		break;  | 
