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

This commit is contained in:
Rob Shearman 2008-02-14 14:38:49 +00:00 committed by Alexandre Julliard
parent 806dc4249c
commit 9ca4680fce
1 changed files with 2 additions and 2 deletions

View File

@ -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);