Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_desk.c 


Log Message:
Properly check for a blank name and then set it to desktop_default_name if
we have to.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_desk.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_int_config_desk.c 15 Nov 2006 11:46:48 -0000      1.2
+++ e_int_config_desk.c 15 Nov 2006 11:50:06 -0000      1.3
@@ -112,7 +112,7 @@
 {
    char name[40];
    
-   if (!cfdata->name) 
+   if (!cfdata->name[0]) 
      {
        snprintf(name, sizeof(name), _(e_config->desktop_default_name), 
cfdata->desk_x, cfdata->desk_y);
        cfdata->name = strdup(name);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to