# HG changeset patch # User Sam Lantinga # Date 1351624875 25200 # Node ID d7a463bde4d793a0eb418d5feceb9ddcb7bbac0f # Parent 92925281e7caadc4fb90e8d72995af0bb6bab18a Use the correct variable for the button spacing (even though they end up being the same thing) diff -r 92925281e7ca -r d7a463bde4d7 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; } }