diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 279488e6e86..4cd7500884c 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -114,7 +114,9 @@ void OS_X11::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi x11_display = XOpenDisplay(NULL); char * modifiers = XSetLocaleModifiers ("@im=none"); - ERR_FAIL_COND( modifiers == NULL ); + if (modifiers==NULL) { + WARN_PRINT("Error setting locale modifiers"); + } xim = XOpenIM (x11_display, NULL, NULL, NULL);