diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-03-03 23:43:22 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-03-03 23:43:22 +0000 |
| commit | d0a824540b1ab2ae0abd6c35f2e1619b857e6bb2 (patch) | |
| tree | 4db229753600c844e2d2d14366faee27eafc52c5 /windows.c | |
| parent | 8b21ddc396e51aca66a935957f8e62298736443d (diff) | |
| download | puzzles-d0a824540b1ab2ae0abd6c35f2e1619b857e6bb2.zip puzzles-d0a824540b1ab2ae0abd6c35f2e1619b857e6bb2.tar.gz puzzles-d0a824540b1ab2ae0abd6c35f2e1619b857e6bb2.tar.bz2 puzzles-d0a824540b1ab2ae0abd6c35f2e1619b857e6bb2.tar.xz | |
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]
Diffstat (limited to 'windows.c')
| -rw-r--r-- | windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_ |