Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gamma.c @ 2221:1d75c38e1e5c
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 11 Aug 2007 20:46:24 +0000 |
parents | 82a133b784c9 |
children | 99210400e8b9 |
comparison
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 |