src/video/x11/SDL_x11gamma.c
changeset 2221 1d75c38e1e5c
parent 2216 82a133b784c9
child 2859 99210400e8b9
equal deleted inserted replaced
2220:4d2d0548f5b2 2221:1d75c38e1e5c
    76         }
    76         }
    77     }
    77     }
    78 
    78 
    79     /* increase the table by one entry. If the table is NULL create the
    79     /* increase the table by one entry. If the table is NULL create the
    80        first entrty */
    80        first entrty */
    81     cmapTable = SDL_realloc(cmapTable, (numCmaps + 1) * sizeof(cmapTableEntry));
    81     cmapTable =
       
    82         SDL_realloc(cmapTable, (numCmaps + 1) * sizeof(cmapTableEntry));
    82     if (NULL == cmapTable) {
    83     if (NULL == cmapTable) {
    83         SDL_SetError("Out of memory in X11_TrackColormap()");
    84         SDL_SetError("Out of memory in X11_TrackColormap()");
    84         return;
    85         return;
    85     }
    86     }
    86 
    87