Commit b5d47aa297d508fd1c19eac40a9640a904e62bc4

Fredrick Brennan 2021-11-28T23:15:31

Fix comment style for old compilers (`//`⇒`/**/`)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c
index 51869a6..efaaf5c 100644
--- a/src/video/x11/SDL_x11window.c
+++ b/src/video/x11/SDL_x11window.c
@@ -1885,10 +1885,10 @@ int SDL_X11_SetWindowTitle(Display* display, Window xwindow, char* title) {
     if (conv == 0) {
         X11_XSetTextProperty(display, xwindow, &titleprop, XA_WM_NAME);
         X11_XFree(titleprop.value);
-    // we know this can't be a locale error as we checked X locale validity
+    /* we know this can't be a locale error as we checked X locale validity */
     } else if (conv < 0) {
         return SDL_OutOfMemory();
-    } else { // conv > 0
+    } else { /* conv > 0 */
         SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "%d characters were not convertable to the current locale!", conv);
         return 0;
     }