summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2018-01-05 12:10:47 +0100
committerAndreas Haas <liu.gam3@gmail.com>2018-01-05 12:11:45 +0100
commitfab0d53f7ef94e0eaf8ad4f1dbe1f8746b0cfdd4 (patch)
tree9e5a78b9b9f7e54058b1babd4215a5b3c892d1d2 /platform/x11
parent8ec06de6681a600bd5a74b4a1bdea85f656b5a88 (diff)
X11: Add missing return in OS_X11::initialize().
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/os_x11.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 07f3d9e195..e4165e2fe3 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -523,6 +523,8 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
_window_changed(&xevent);
}
}
+
+ return OK;
}
void OS_X11::xim_destroy_callback(::XIM im, ::XPointer client_data,