From 18cceb5ce0d0395fb317f9fe3c0c6310a8943f60 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 13 Aug 2017 01:00:01 -0400 Subject: [PATCH] x11: Patched to compile. --- src/video/x11/SDL_x11messagebox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/x11/SDL_x11messagebox.c b/src/video/x11/SDL_x11messagebox.c index 6ccdf94737519..789fa51dc6c73 100644 --- a/src/video/x11/SDL_x11messagebox.c +++ b/src/video/x11/SDL_x11messagebox.c @@ -422,7 +422,7 @@ X11_MessageBoxCreateWindow( SDL_MessageBoxDataX11 *data ) Status status = X11_XStringListToTextProperty(&title_locale, 1, &titleprop); SDL_free(title_locale); if (status) { - X11_XSetTextProperty(display, data->xwindow, &titleprop, XA_WM_NAME); + X11_XSetTextProperty(display, data->window, &titleprop, XA_WM_NAME); X11_XFree(titleprop.value); } } @@ -430,7 +430,7 @@ X11_MessageBoxCreateWindow( SDL_MessageBoxDataX11 *data ) #ifdef X_HAVE_UTF8_STRING if (SDL_X11_HAVE_UTF8) { XTextProperty titleprop; - status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1, + Status status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1, XUTF8StringStyle, &titleprop); if (status == Success) { X11_XSetTextProperty(display, data->window, &titleprop,