Author: bcameron
Date: Sat Feb  9 01:58:17 2008
New Revision: 5742
URL: http://svn.gnome.org/viewvc/gdm?rev=5742&view=rev

Log:
2008-02-08  Brian Cameron  <[EMAIL PROTECTED]>

        * gui/gdm-languages.c:  Fix NULL print issue causing crash
          on Solaris.


Modified:
   trunk/ChangeLog
   trunk/gui/simple-greeter/gdm-languages.c

Modified: trunk/gui/simple-greeter/gdm-languages.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-languages.c    (original)
+++ trunk/gui/simple-greeter/gdm-languages.c    Sat Feb  9 01:58:17 2008
@@ -809,7 +809,9 @@
         }
 
         if (territory != NULL) {
-                full_language  = g_strdup_printf ("%s (%s)", language, 
territory);
+                full_language  = g_strdup_printf ("%s (%s)",
+                        language ? language : "",
+                        territory ? territory : "");
         } else {
                 full_language  = g_strdup (language);
         }
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to