forked from enlightenment/enventor
Revert "edc_navigator: remove redundant compatibility code."
This reverts commit e2f00759de
.
This commit is contained in:
parent
e2f00759de
commit
d627d761ec
|
@ -399,6 +399,24 @@ find_part_proc_internal(char *utf8, char *utf8_end, const char* group_name,
|
|||
ESCAPE_RET_NULL();
|
||||
}
|
||||
}
|
||||
|
||||
//compatibility: "part"
|
||||
if (!strncmp("part", p, strlen("part")))
|
||||
{
|
||||
p = strstr((p + 4), "\"");
|
||||
if (!p) return NULL;
|
||||
p++;
|
||||
if (!strncmp(part_name, p, strlen(part_name)))
|
||||
{
|
||||
result = p;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
ESCAPE_RET_NULL();
|
||||
}
|
||||
}
|
||||
|
||||
p++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue