1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Some small fixes.

This commit is contained in:
dan
1999-03-19 22:07:19 +00:00
parent dfac16f988
commit 69340d517a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/* /*
* Header foy demo widget. * Header for demo widget.
* *
*/ */

View File

@@ -17,7 +17,7 @@
Position = "0,1"; Position = "0,1";
}, },
{ {
Command = "/usr/local/GNUstep/Local/Apps/WPrefs.app/WPrefs"; Command = "/usr/local/GNUstep/Apps/WPrefs.app/WPrefs";
Name = groupLeader.WPrefs; Name = groupLeader.WPrefs;
AutoLaunch = No; AutoLaunch = No;
Forced = No; Forced = No;

View File

@@ -1649,7 +1649,7 @@ wWindowConstrainSize(WWindow *wwin, int *nwidth, int *nheight)
} }
} else { } else {
width = (height * sizeh->min_aspect.x) / sizeh->min_aspect.y; width = (height * sizeh->min_aspect.x) / sizeh->min_aspect.y;
if (width > sizeh->min_width) { if (width < sizeh->min_width) {
width = sizeh->min_width; width = sizeh->min_width;
height = (width*sizeh->min_aspect.y) / sizeh->min_aspect.x; height = (width*sizeh->min_aspect.y) / sizeh->min_aspect.x;
} }