mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
pass the rigth size to LoadString
This commit is contained in:
parent
08b20dc431
commit
6439096812
1 changed files with 2 additions and 1 deletions
|
@ -628,7 +628,8 @@ ceLocateNDicts( MPFORMAL HINSTANCE hInstance, XP_U16 nSought,
|
|||
|
||||
for ( id = IDS_DICTDIRS; ; ++id ) {
|
||||
wchar_t pathBuf[CE_MAX_PATH_LEN+1];
|
||||
if ( 0 >= LoadString( hInstance, id, pathBuf, sizeof(pathBuf) ) ) {
|
||||
if ( 0 >= LoadString( hInstance, id, pathBuf,
|
||||
sizeof(pathBuf)/sizeof(pathBuf[0]) ) ) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue