src/video/x11/SDL_x11messagebox.c
changeset 6615 d7a463bde4d7
parent 6603 fc815cb0a2de
child 6723 7c464a9ecf48
--- a/src/video/x11/SDL_x11messagebox.c	Tue Oct 30 10:11:25 2012 -0700
+++ b/src/video/x11/SDL_x11messagebox.c	Tue Oct 30 12:21:15 2012 -0700
@@ -308,7 +308,7 @@
             data->buttonpos[ i ].y = y + ( button_height - button_text_height - 1 ) / 2 + button_text_height;
 
             /* Scoot over for next button. */
-            x += button_width + button_text_height;
+            x += button_width + button_spacing;
         }
     }