Author: koorek                       Date: Fri Feb 25 13:26:34 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- X Resource Manager fix

---- Files affected:
SOURCES:
   xosview-xrm_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xosview-xrm_fix.patch
diff -u /dev/null SOURCES/xosview-xrm_fix.patch:1.1
--- /dev/null   Fri Feb 25 14:26:34 2005
+++ SOURCES/xosview-xrm_fix.patch       Fri Feb 25 14:26:29 2005
@@ -0,0 +1,15 @@
+--- xosview-1.8.2/Xrm.cc       2003-10-09 05:25:25.000000000 +0200
++++ fix/xosview-1.8.2/Xrm.cc   2005-02-25 13:55:59.246097080 +0100
+@@ -98,7 +98,11 @@
+     char fcn_lower[1024];
+     strncpy(fcn_lower, className(), 1024);
+     char* p = fcn_lower;
+-    while (p && *p)  *p++ = tolower(*p);
++    while (p && *p)
++    {
++          *p = tolower(*p);
++          p++;
++    }
+     snprintf(fcn, 1024, "%s.%s", fcn_lower, rname);
+     XrmGetResource(_db, frn, fcn, &type, &val);
+   }
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to