[vlc-commits] qt: Use wide char to initialize a wchar array
Hugo Beauzée-Luyssen
git at videolan.org
Tue Feb 14 15:37:59 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 14 14:39:22 2017 +0100| [f0a01059a19b47635e66b51d701ad80caba778aa] | committer: Jean-Baptiste Kempf
qt: Use wide char to initialize a wchar array
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0a01059a19b47635e66b51d701ad80caba778aa
---
modules/gui/qt/components/open_panels.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/components/open_panels.cpp b/modules/gui/qt/components/open_panels.cpp
index 505c216..62d001b 100644
--- a/modules/gui/qt/components/open_panels.cpp
+++ b/modules/gui/qt/components/open_panels.cpp
@@ -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;
More information about the vlc-commits
mailing list