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 6615d7a463bde4d7
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
     1.1 --- a/src/video/x11/SDL_x11messagebox.c	Tue Oct 30 10:11:25 2012 -0700
     1.2 +++ b/src/video/x11/SDL_x11messagebox.c	Tue Oct 30 12:21:15 2012 -0700
     1.3 @@ -308,7 +308,7 @@
     1.4              data->buttonpos[ i ].y = y + ( button_height - button_text_height - 1 ) / 2 + button_text_height;
     1.5  
     1.6              /* Scoot over for next button. */
     1.7 -            x += button_width + button_text_height;
     1.8 +            x += button_width + button_spacing;
     1.9          }
    1.10      }
    1.11