Revert "edc_navigator: remove redundant compatibility code."

This reverts commit e2f00759de.
This commit is contained in:
Hermet Park 2016-06-23 20:15:54 +09:00
parent e2f00759de
commit d627d761ec
1 changed files with 18 additions and 0 deletions

View File

@ -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++;
}