static int check_window_resize(frontend *fe, int cx, int cy,
int *px, int *py,
static int check_window_resize(frontend *fe, int cx, int cy,
int *px, int *py,
{
RECT r;
int x, y, sy = get_statusbar_height(fe), changed = 0;
{
RECT r;
int x, y, sy = get_statusbar_height(fe), changed = 0;
* See if we actually got the window size we wanted, and adjust
* the puzzle size if not.
*/
* 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_
if (x != cx || y != cy) {
/*
* Resize the window, now we know what size we _really_
sprintf(item, "&Help on %s", thegame.name);
AppendMenu(menu, MF_ENABLED, IDM_GAMEHELP, item);
sfree(item);
sprintf(item, "&Help on %s", thegame.name);
AppendMenu(menu, MF_ENABLED, IDM_GAMEHELP, item);
sfree(item);