[vlc-commits] A local host starts with '/' on OS/2

KO Myung-Hun git at videolan.org
Sat Nov 26 12:34:36 CET 2011


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sat Nov 26 15:05:29 2011 +0900| [ce5c09494f0fa02049ecd9d9940d3317dea3a06b] | committer: Jean-Baptiste Kempf

A local host starts with '/' on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce5c09494f0fa02049ecd9d9940d3317dea3a06b
---

 modules/gui/qt4/components/open_panels.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 8ac5b75..138bcea 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -489,7 +489,7 @@ void DiscOpenPanel::updateButtons()
 
 #undef setDrive
 
-#ifndef WIN32
+#if !defined( WIN32 ) && !defined( __OS2__ )
 # define LOCALHOST ""
 #else
 # define LOCALHOST "/"



More information about the vlc-commits mailing list