build fix

This commit is contained in:
Glenn Maynard
2006-01-04 17:51:43 +00:00
parent 37af3d7b37
commit e24076f744
@@ -6,6 +6,7 @@
#include "PrefsManager.h" // XXX #include "PrefsManager.h" // XXX
#include "RageDisplay.h" // VideoModeParams #include "RageDisplay.h" // VideoModeParams
#include "DisplayResolutions.h" #include "DisplayResolutions.h"
#include "LocalizedString.h"
#include <stack> #include <stack>
#include <math.h> // ceil() #include <math.h> // ceil()
@@ -24,7 +25,7 @@ LowLevelWindow_X11::LowLevelWindow_X11()
{ {
m_bWindowIsOpen = false; m_bWindowIsOpen = false;
if( !X11Helper::Go() ) if( !X11Helper::Go() )
RageException::Throw( FAILED_CONNECTION_XSERVER ); RageException::Throw( FAILED_CONNECTION_XSERVER.GetValue() );
const int iScreen = DefaultScreen( X11Helper::Dpy ); const int iScreen = DefaultScreen( X11Helper::Dpy );