terminology: Ignore empty commands

SVN revision: 75590
This commit is contained in:
Leandro Pereira 2012-08-23 05:58:06 +00:00
parent ddae600684
commit db0f11758d
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ termcmd_watch(Evas_Object *obj, Evas_Object *win, Evas_Object *bg, const char *c
Eina_Bool
termcmd_do(Evas_Object *obj, Evas_Object *win, Evas_Object *bg, const char *cmd)
{
if (!cmd) return EINA_FALSE;
if (!cmd || !cmd[0]) return EINA_FALSE;
if ((cmd[0] == '/') || (cmd[0] == 's'))
return _termcmd_search(obj, win, bg, cmd + 1);
if ((cmd[0] == 'f') || (cmd[0] == 'F'))