edc_navigator: remove redundant compatibility code.

because of this, it occured a corruption for the part searching.
basically, this is unnecessary because it's been covered by part_type.
This commit is contained in:
Hermet Park 2016-06-23 20:09:26 +09:00
parent b959417fdc
commit e2f00759de
1 changed files with 0 additions and 18 deletions

View File

@ -399,24 +399,6 @@ 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++;
}