mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Some small fixes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
/*
|
||||
* Header foy demo widget.
|
||||
* Header for demo widget.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user