previous should not mean the same as last
This commit is contained in:
parent
9d593db034
commit
4b095c1ca2
1 changed files with 1 additions and 2 deletions
|
@ -55,8 +55,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc,
|
||||||
|
|
||||||
if ((n = parse_find_node("to", node))) {
|
if ((n = parse_find_node("to", node))) {
|
||||||
gchar *s = parse_string(doc, n);
|
gchar *s = parse_string(doc, n);
|
||||||
if (!g_ascii_strcasecmp(s, "last") ||
|
if (!g_ascii_strcasecmp(s, "last"))
|
||||||
!g_ascii_strcasecmp(s, "previous"))
|
|
||||||
o->type = LAST;
|
o->type = LAST;
|
||||||
else if (!g_ascii_strcasecmp(s, "next")) {
|
else if (!g_ascii_strcasecmp(s, "next")) {
|
||||||
o->type = RELATIVE;
|
o->type = RELATIVE;
|
||||||
|
|
Loading…
Reference in a new issue