diff -r 2f91a3847ae8 -r cdb01906cb7e src/video/x11/SDL_x11modes.c --- a/src/video/x11/SDL_x11modes.c Thu Dec 25 05:16:18 2008 +0000 +++ b/src/video/x11/SDL_x11modes.c Thu Dec 25 05:26:29 2008 +0000 @@ -157,7 +157,7 @@ displaydata->visual = vinfo.visual; displaydata->depth = vinfo.depth; - displaydata->scanline_pad = SDL_BYTESPERPIXEL(mode.format)*8; + displaydata->scanline_pad = SDL_BYTESPERPIXEL(mode.format) * 8; pixmapFormats = XListPixmapFormats(data->display, &n); if (pixmapFormats) { for (i = 0; i < n; ++i) {