mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-01-01 04:11:28 +00:00
The function "SystemParametersInfo" expects the size of the buffer in characters. When wchar is used instead of char - two bytes instead of one byte per character -, then "sizeof" returns wrong number of characters (twice as much). A suitable solution would be to use SPICE_N_ELEMENTS. Based on patch by Sandy Stutsman <sstutsma@redhat.com> Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Sameeh Jubran <sameeh@daynix.com> |
||
|---|---|---|
| .. | ||
| as_user.cpp | ||
| as_user.h | ||
| desktop_layout.cpp | ||
| desktop_layout.h | ||
| display_setting.cpp | ||
| display_setting.h | ||
| file_xfer.cpp | ||
| file_xfer.h | ||
| resource.h | ||
| vdagent.cpp | ||
| vdagent.rc | ||
| vdagent.vcproj | ||