comparison src/video/x11/SDL_x11modes.c @ 2920:cdb01906cb7e

indent
author Sam Lantinga <slouken@libsdl.org>
date Thu, 25 Dec 2008 05:26:29 +0000
parents ffdd533f7add
children e38423786728
comparison
equal deleted inserted replaced
2919:2f91a3847ae8 2920:cdb01906cb7e
155 } 155 }
156 displaydata->screen = screen; 156 displaydata->screen = screen;
157 displaydata->visual = vinfo.visual; 157 displaydata->visual = vinfo.visual;
158 displaydata->depth = vinfo.depth; 158 displaydata->depth = vinfo.depth;
159 159
160 displaydata->scanline_pad = SDL_BYTESPERPIXEL(mode.format)*8; 160 displaydata->scanline_pad = SDL_BYTESPERPIXEL(mode.format) * 8;
161 pixmapFormats = XListPixmapFormats(data->display, &n); 161 pixmapFormats = XListPixmapFormats(data->display, &n);
162 if (pixmapFormats) { 162 if (pixmapFormats) {
163 for (i = 0; i < n; ++i) { 163 for (i = 0; i < n; ++i) {
164 if (pixmapFormats[i].depth == displaydata->depth) { 164 if (pixmapFormats[i].depth == displaydata->depth) {
165 displaydata->scanline_pad = pixmapFormats[i].scanline_pad; 165 displaydata->scanline_pad = pixmapFormats[i].scanline_pad;