git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@48306
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
fi->y = -c->maxascent;
}
else
- fi->y = -c->maxascent;
+ fi->y = -(fi->h - c->maxdescent);
break;
case VSIZE_ASCENT:
if (fi->h > c->maxascent)
{
c->maxascent = fi->h;
- fi->y = -c->maxascent;
+ fi->y = -fi->h;
}
else
fi->y = -fi->h;
p = strstr(s, " vsize=");
if (p)
{
- p += 8;
- if (!strcmp(p, "full")) vsize = VSIZE_FULL;
- else if (!strcmp(p, "ascent")) vsize = VSIZE_ASCENT;
+ p += 7;
+ if (!strncmp(p, "full", 4)) vsize = VSIZE_FULL;
+ else if (!strncmp(p, "ascent", 6)) vsize = VSIZE_ASCENT;
}
p = strstr(s, " size=");
if (p)