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

This commit is contained in:
Fredrick Brennan 2021-11-28 23:15:31 -05:00 committed by Sam Lantinga
parent 367684b0c2
commit b5d47aa297

View File

@ -1885,10 +1885,10 @@ int SDL_X11_SetWindowTitle(Display* display, Window xwindow, char* title) {
if (conv == 0) { if (conv == 0) {
X11_XSetTextProperty(display, xwindow, &titleprop, XA_WM_NAME); X11_XSetTextProperty(display, xwindow, &titleprop, XA_WM_NAME);
X11_XFree(titleprop.value); 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) { } else if (conv < 0) {
return SDL_OutOfMemory(); 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); SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "%d characters were not convertable to the current locale!", conv);
return 0; return 0;
} }