tiny patch ...



May I commit ? Solaris dies otherwise ;-)

	Michael.

Index: backends/xml-entry.c
===================================================================
RCS file: /cvs/gnome/gconf/backends/xml-entry.c,v
retrieving revision 1.31
diff -u -r1.31 xml-entry.c
--- backends/xml-entry.c	27 Apr 2002 15:25:08 -0000	1.31
+++ backends/xml-entry.c	9 May 2002 13:42:21 -0000
@@ -123,7 +123,7 @@
 
   gconf_log (GCL_DEBUG, "Cached schema value has locale \"%s\", looking for %s",
              sl ? sl : "null",
-             locales ? locales[0] : "null");
+             locales && locales [0] ? locales[0] : "null");
   
   /* optimize most common cases first */
   if (sl == NULL && (locales == NULL ||

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]