[vlc-commits] Win32: More comments to avoid removal :)
Jean-Baptiste Kempf
git at videolan.org
Fri Aug 16 11:07:31 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 16 11:06:52 2013 +0200| [6ada7e011a6d8db05e4850fa4c7bd4f823df6fb1] | committer: Jean-Baptiste Kempf
Win32: More comments to avoid removal :)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ada7e011a6d8db05e4850fa4c7bd4f823df6fb1
---
src/win32/filesystem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/win32/filesystem.c b/src/win32/filesystem.c
index e1317a4..dc1afd0 100644
--- a/src/win32/filesystem.c
+++ b/src/win32/filesystem.c
@@ -148,10 +148,10 @@ DIR *vlc_opendir (const char *dirname)
return NULL;
}
+ /* Special mode to list drive letters */
if (wpath[0] == L'\0' || (wcscmp (wpath, L"\\") == 0))
{
free (wpath);
- /* Special mode to list drive letters */
p_dir->wdir = NULL;
p_dir->u.drives = GetLogicalDrives ();
return (void *)p_dir;
@@ -175,9 +175,9 @@ char *vlc_readdir (DIR *dir)
{
vlc_DIR *p_dir = (vlc_DIR *)dir;
+ /* Drive letters mode */
if (p_dir->wdir == NULL)
{
- /* Drive letters mode */
DWORD drives = p_dir->u.drives;
if (drives == 0)
return NULL; /* end */
More information about the vlc-commits
mailing list