X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fwxwidgets%2Fwxwidgets.cpp;h=5aaba2f0e5ef7292fc0387f6142a006f462227b8;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=9344cbd0bc4e41fe3d40b61c42788f6acfb63596;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/gui/wxwidgets/wxwidgets.cpp b/modules/gui/wxwidgets/wxwidgets.cpp index 9344cbd0bc..5aaba2f0e5 100644 --- a/modules/gui/wxwidgets/wxwidgets.cpp +++ b/modules/gui/wxwidgets/wxwidgets.cpp @@ -177,7 +177,7 @@ static int Open( vlc_object_t *p_this ) { intf_thread_t *p_intf = (intf_thread_t *)p_this; /* Test in we have an X*/ -#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11) +#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11) if( !getenv( "DISPLAY" ) ) { msg_Err( p_intf, "no X server");