'everything' module: fix bug in tracker plugin

SVN revision: 41767
This commit is contained in:
Hannes Janetzek 2009-08-14 16:28:00 +00:00
parent 9ed72ffa1c
commit 3a48a725ec
2 changed files with 2 additions and 2 deletions

View File

@ -462,7 +462,7 @@ evry_fuzzy_match(const char *str, const char *match)
unsigned int last = 0;
unsigned char first;
if (!match || !match[0] || !str || !str[0]) return 0;
if (!match || !str) return 0;
for (m = match; *m != 0; m++)
{

View File

@ -206,7 +206,7 @@ _dbus_cb_reply(void *data, DBusMessage *msg, DBusError *error)
}
else if (inst->items && inst->input)
{
int len_matched = strlen(inst->matched);
int len_matched = (inst->matched ? strlen(inst->matched) : 0);
int len_input = strlen(inst->input);
Eina_List *l;