forked from enlightenment/enlightenment
'everything' module: fix bug in tracker plugin
SVN revision: 41767
This commit is contained in:
parent
9ed72ffa1c
commit
3a48a725ec
|
@ -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++)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue