[vlc-commits] qt: Use wide char to initialize a wchar array
Hugo Beauzée-Luyssen
git at videolan.org
Tue Feb 14 15:30:40 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 14 14:39:22 2017 +0100| [6a6f2b51968ae0e81d769b75f09122fbef3adc58] | committer: Hugo Beauzée-Luyssen
qt: Use wide char to initialize a wchar array
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a6f2b51968ae0e81d769b75f09122fbef3adc58
---
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