Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_remote_main.c 


Log Message:


allow empty modifiers

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remote_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_remote_main.c     5 May 2005 06:45:47 -0000       1.19
+++ e_remote_main.c     7 May 2005 17:29:25 -0000       1.20
@@ -80,7 +80,7 @@
                  else if (!strncmp(pp, "CTRL|", 5)) eb->modifiers |= 
E_BINDING_MODIFIER_CTRL;
                  else if (!strncmp(pp, "ALT|", 4)) eb->modifiers |= 
E_BINDING_MODIFIER_ALT;
                  else if (!strncmp(pp, "WIN|", 4)) eb->modifiers |= 
E_BINDING_MODIFIER_WIN;
-                 else
+                 else if (strlen(pp) > 0)
                    {
                       printf("OPT3 moidifier unknonw. Must be or mask of:\n"
                              "  SHIFT CTRL ALT WIN\n");
@@ -94,7 +94,7 @@
                  else if (!strcmp(pp, "CTRL")) eb->modifiers |= 
E_BINDING_MODIFIER_CTRL;
                  else if (!strcmp(pp, "ALT")) eb->modifiers |= 
E_BINDING_MODIFIER_ALT;
                  else if (!strcmp(pp, "WIN")) eb->modifiers |= 
E_BINDING_MODIFIER_WIN;
-                 else
+                 else if (strlen(pp) > 0)
                    {
                       printf("OPT3 moidifier unknonw. Must be or mask of:\n"
                              "  SHIFT CTRL ALT WIN\n");
@@ -174,7 +174,7 @@
                  else if (!strncmp(pp, "CTRL|", 5)) eb->modifiers |= 
E_BINDING_MODIFIER_CTRL;
                  else if (!strncmp(pp, "ALT|", 4)) eb->modifiers |= 
E_BINDING_MODIFIER_ALT;
                  else if (!strncmp(pp, "WIN|", 4)) eb->modifiers |= 
E_BINDING_MODIFIER_WIN;
-                 else
+                 else if (strlen(pp) > 0)
                    {
                       printf("OPT3 moidifier unknonw. Must be or mask of:\n"
                              "  SHIFT CTRL ALT WIN\n");
@@ -188,7 +188,7 @@
                  else if (!strcmp(pp, "CTRL")) eb->modifiers |= 
E_BINDING_MODIFIER_CTRL;
                  else if (!strcmp(pp, "ALT")) eb->modifiers |= 
E_BINDING_MODIFIER_ALT;
                  else if (!strcmp(pp, "WIN")) eb->modifiers |= 
E_BINDING_MODIFIER_WIN;
-                 else
+                 else if (strlen(pp) > 0)
                    {
                       printf("OPT3 moidifier unknonw. Must be or mask of:\n"
                              "  SHIFT CTRL ALT WIN\n");




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to