equal
deleted
inserted
replaced
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 |