Use the correct variable for the button spacing (even though they end up being the same thing)
authorSam Lantinga <slouken@libsdl.org>
Tue, 30 Oct 2012 12:21:15 -0700
changeset 6615 d7a463bde4d7
parent 6614 92925281e7ca
child 6616 4f272256d172
Use the correct variable for the button spacing (even though they end up being the same thing)
src/video/x11/SDL_x11messagebox.c
--- 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;
         }
     }