Commit 9ca4680f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

msrle32: Fix the character count passed into LoadStringW in About.

parent 806dc424
......@@ -1225,8 +1225,8 @@ static LRESULT About(CodecInfo *pi, HWND hWnd)
/* pre-condition */
assert(MSRLE32_hModule != 0);
LoadStringW(MSRLE32_hModule, IDS_NAME, szTitle, sizeof(szTitle));
LoadStringW(MSRLE32_hModule, IDS_ABOUT, szAbout, sizeof(szAbout));
LoadStringW(MSRLE32_hModule, IDS_NAME, szTitle, sizeof(szTitle)/sizeof(szTitle[0]));
LoadStringW(MSRLE32_hModule, IDS_ABOUT, szAbout, sizeof(szAbout)/sizeof(szAbout[0]));
MessageBoxW(hWnd, szAbout, szTitle, MB_OK|MB_ICONINFORMATION);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment