mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Add rectangle as alias for "rect"
svn path=/trunk/netsurf/; revision=4798
This commit is contained in:
parent
e3eb293f83
commit
a66415564f
@ -383,7 +383,8 @@ bool imagemap_addtolist(xmlNode *n, char *base_url, struct mapentry **entry)
|
||||
}
|
||||
|
||||
/* extract area shape */
|
||||
if (strcasecmp(shape, "rect") == 0) {
|
||||
if (strcasecmp(shape, "rect") == 0 ||
|
||||
strcasecmp(shape, "rectangle") == 0) {
|
||||
new_map->type = IMAGEMAP_RECT;
|
||||
}
|
||||
else if (strcasecmp(shape, "circle") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user