diff --git a/WINGs/mywidget.h b/WINGs/mywidget.h index 3557b47f..14e79579 100644 --- a/WINGs/mywidget.h +++ b/WINGs/mywidget.h @@ -1,6 +1,6 @@ /* - * Header foy demo widget. + * Header for demo widget. * */ diff --git a/WindowMaker/Defaults/WMState b/WindowMaker/Defaults/WMState index 67e46e06..eec57760 100755 --- a/WindowMaker/Defaults/WMState +++ b/WindowMaker/Defaults/WMState @@ -17,7 +17,7 @@ Position = "0,1"; }, { - Command = "/usr/local/GNUstep/Local/Apps/WPrefs.app/WPrefs"; + Command = "/usr/local/GNUstep/Apps/WPrefs.app/WPrefs"; Name = groupLeader.WPrefs; AutoLaunch = No; Forced = No; diff --git a/src/window.c b/src/window.c index 9da5035d..2d88c0d3 100644 --- a/src/window.c +++ b/src/window.c @@ -1649,7 +1649,7 @@ wWindowConstrainSize(WWindow *wwin, int *nwidth, int *nheight) } } else { width = (height * sizeh->min_aspect.x) / sizeh->min_aspect.y; - if (width > sizeh->min_width) { + if (width < sizeh->min_width) { width = sizeh->min_width; height = (width*sizeh->min_aspect.y) / sizeh->min_aspect.x; }