mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Since we've changed the semantics of the `expand' argument to midend_size(),
change the name. Also document the new semantics. [originally from svn r7369]
This commit is contained in:
@ -1312,7 +1312,7 @@ static void get_menu_size(HWND wh, RECT *r)
|
||||
|
||||
static int check_window_resize(frontend *fe, int cx, int cy,
|
||||
int *px, int *py,
|
||||
int *wx, int *wy, int expand)
|
||||
int *wx, int *wy, int resize)
|
||||
{
|
||||
RECT r;
|
||||
int x, y, sy = get_statusbar_height(fe), changed = 0;
|
||||
@ -1325,7 +1325,7 @@ static int check_window_resize(frontend *fe, int cx, int cy,
|
||||
* See if we actually got the window size we wanted, and adjust
|
||||
* the puzzle size if not.
|
||||
*/
|
||||
midend_size(fe->me, &x, &y, expand);
|
||||
midend_size(fe->me, &x, &y, resize);
|
||||
if (x != cx || y != cy) {
|
||||
/*
|
||||
* Resize the window, now we know what size we _really_
|
||||
|
Reference in New Issue
Block a user