Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/conf_keybindings


Modified Files:
        e_int_config_keybindings.c 


Log Message:
Don't use strlen to check for empty string.

===================================================================
RCS file: 
/cvs/e/e17/apps/e/src/modules/conf_keybindings/e_int_config_keybindings.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_int_config_keybindings.c  29 Oct 2007 03:55:18 -0000      1.5
+++ e_int_config_keybindings.c  29 Oct 2007 06:17:18 -0000      1.6
@@ -88,7 +88,7 @@
    cfd = e_config_dialog_new(con, _("Key Binding Settings"), "E", 
                             "_config_keybindings_dialog",
                             "enlightenment/keys", 0, v, NULL);
-   if ((params) && (strlen(params) > 0))
+   if ((params) && (params[0]))
      {
        cfd->cfdata->params = params;
        _add_key_binding_cb(cfd->cfdata, NULL);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to