Commit f0a01059 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

qt: Use wide char to initialize a wchar array

parent 2a505826
......@@ -380,7 +380,7 @@ void DiscOpenPanel::onFocus()
{
ui.deviceCombo->clear();
wchar_t szDrives[512];
szDrives[0] = '\0';
szDrives[0] = L'\0';
if( GetLogicalDriveStringsW( sizeof( szDrives ) / sizeof( *szDrives ) - 1, szDrives ) )
{
wchar_t *drive = szDrives;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment