aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table-specification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c
index d95c5147c8..f44212755b 100644
--- a/widgets/table/e-table-specification.c
+++ b/widgets/table/e-table-specification.c
@@ -119,7 +119,7 @@ e_table_specification_load_from_node (ETableSpecification *specification,
specification->cursor_mode = E_TABLE_CURSOR_SIMPLE;
temp = e_xml_get_string_prop_by_name(node, "cursor-mode");
- if (temp && strcasecmp(temp, "line")) {
+ if (temp && !strcasecmp(temp, "line")) {
specification->cursor_mode = E_TABLE_CURSOR_LINE;
}
g_free(temp);