mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[DESK] StringCbCat() needs bytes, not chars (#2070)
This commit is contained in:
parent
0f92924a99
commit
5b37caa9d7
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ SetWallpaper(PBACKGROUND_DATA pData)
|
|||
return;
|
||||
}
|
||||
|
||||
if (FAILED(StringCbCat(szWallpaper, MAX_PATH, TEXT("\\Wallpaper1.bmp"))))
|
||||
if (FAILED(StringCbCat(szWallpaper, sizeof(szWallpaper), TEXT("\\Wallpaper1.bmp"))))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue