mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
pass the rigth size to LoadString
This commit is contained in:
parent
bc2a99b474
commit
d4bb0f307f
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…
Add table
Reference in a new issue