Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        menus.c 


Log Message:
Fix backward compatibility "named" menu hack.

===================================================================
RCS file: /cvs/e/e16/e/src/menus.c,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -3 -r1.290 -r1.291
--- menus.c     30 Sep 2007 12:56:31 -0000      1.290
+++ menus.c     19 Dec 2007 21:00:47 -0000      1.291
@@ -2106,7 +2106,10 @@
        if (*p == '\0')
           p = NULL;
        if (p && !strcmp(prm, "named"))
-          Esnprintf(prm, sizeof(prm), "%s", p);
+         {
+            Esnprintf(prm, sizeof(prm), "%s", p);
+            p = NULL;
+         }
        SoundPlay("SOUND_MENU_SHOW");
        MenusShowNamed(prm, p);
      }



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to