Use the correct variable for the button spacing (even though they end up being the same thing)

This commit is contained in:
Sam Lantinga 2012-10-30 12:21:15 -07:00
parent d44d7c1989
commit 57f18e2fc2

View file

@ -308,7 +308,7 @@ X11_MessageBoxInitPositions( SDL_MessageBoxDataX11 *data )
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;
}
}