previous should not mean the same as last

This commit is contained in:
Mikael Magnusson 2007-07-15 01:41:30 +02:00
parent 9d593db034
commit 4b095c1ca2

View file

@ -55,8 +55,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc,
if ((n = parse_find_node("to", node))) {
gchar *s = parse_string(doc, n);
if (!g_ascii_strcasecmp(s, "last") ||
!g_ascii_strcasecmp(s, "previous"))
if (!g_ascii_strcasecmp(s, "last"))
o->type = LAST;
else if (!g_ascii_strcasecmp(s, "next")) {
o->type = RELATIVE;