mirror of https://github.com/encounter/SDL.git
Fix comment style for old compilers (`//`⇒`/**/`)
This commit is contained in:
parent
367684b0c2
commit
b5d47aa297
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue