mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FAILED(StringCbCat(szWallpaper, MAX_PATH, TEXT("\\Wallpaper1.bmp"))))
|
if (FAILED(StringCbCat(szWallpaper, sizeof(szWallpaper), TEXT("\\Wallpaper1.bmp"))))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue