--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402583
This commit is contained in:
Sam Lantinga 2007-08-11 20:46:24 +00:00
parent 838787d358
commit c1a200fa1d

View file

@ -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;