Use the correct variable for the button spacing (even though they end up being the same thing)
This commit is contained in:
parent
d44d7c1989
commit
57f18e2fc2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue