mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-22 19:43:31 +01:00
Miscellaneous fixes from OpenSuse
These are some of the fixes sent to the wmaker-dev list by Vladimir Nadvornik, with minor modifications to address Dan Pascu's concerns. Original-post: http://lists.windowmaker.info/dev/msg00293.html
This commit is contained in:
committed by
Carlos R. Mafra
parent
6d75291e1d
commit
108127f0b5
@@ -1160,7 +1160,7 @@ static void readConfiguration(W_ColorPanel * panel)
|
||||
}
|
||||
|
||||
if (!(dPtr = opendir(panel->configurationPath))) {
|
||||
wwarning(_("Color Panel: Could not find file"), "%s", panel->configurationPath);
|
||||
wwarning("%s: %s", _("Color Panel: Could not find file"), panel->configurationPath);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3439,6 +3439,7 @@ RColor ulongToRColor(WMScreen * scr, unsigned long value)
|
||||
color.red = 0;
|
||||
color.green = 0;
|
||||
color.blue = 0;
|
||||
color.alpha = 0;
|
||||
return color;
|
||||
}
|
||||
|
||||
@@ -3448,6 +3449,7 @@ RColor ulongToRColor(WMScreen * scr, unsigned long value)
|
||||
color.red = xcolor->red >> 8;
|
||||
color.green = xcolor->green >> 8;
|
||||
color.blue = xcolor->blue >> 8;
|
||||
color.alpha = 0;
|
||||
|
||||
wfree(xcolor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user