From a33de30073bfa0ee1abba186dba9fa52cf0aa23a Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 15 Jun 2012 14:04:46 +0200 Subject: Updated to following packages: freetype-2.4.10 libXaw-1.0.11 openssl-1.0.1c --- libXaw/src/Pixmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libXaw/src/Pixmap.c') diff --git a/libXaw/src/Pixmap.c b/libXaw/src/Pixmap.c index e4ac9b4bb..6e3388c11 100644 --- a/libXaw/src/Pixmap.c +++ b/libXaw/src/Pixmap.c @@ -10,7 +10,7 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -675,7 +675,7 @@ GetResourcePixmapPath(Display *display) xrm_class[1] = NULLQUARK; if (!XrmGetDatabase(display)) (void) XGetDefault(display, "", ""); - if (XrmQGetResource(XrmGetDatabase(display), xrm_name, xrm_class, + if (XrmQGetResource(XrmGetDatabase(display), xrm_name, xrm_class, &rep_type, &value) && rep_type == XrmPermStringToQuark("String")) { int length = 0; @@ -859,7 +859,7 @@ GradientLoader(XawParams *params, Screen *screen, Colormap colormap, int depth, return (False); ired = (double)(end.red - start.red) / (double)steps; - igreen = (double)(end.green - start.green) / (double)steps; + igreen = (double)(end.green - start.green) / (double)steps; iblue = (double)(end.blue - start.blue) / (double)steps; red = color.red = start.red; -- cgit v1.2.3