diff --git a/src/video/x11/SDL_x11gamma.c b/src/video/x11/SDL_x11gamma.c index 3a78f90f8..68489dfa4 100644 --- a/src/video/x11/SDL_x11gamma.c +++ b/src/video/x11/SDL_x11gamma.c @@ -78,7 +78,8 @@ X11_TrackColormap(Display * display, int scrNum, Colormap colormap, /* increase the table by one entry. If the table is NULL create the first entrty */ - cmapTable = SDL_realloc(cmapTable, (numCmaps + 1) * sizeof(cmapTableEntry)); + cmapTable = + SDL_realloc(cmapTable, (numCmaps + 1) * sizeof(cmapTableEntry)); if (NULL == cmapTable) { SDL_SetError("Out of memory in X11_TrackColormap()"); return;