summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2009-12-03 18:35:50 +0100
committerChristian Persch <chpe@gnome.org>2009-12-03 18:35:50 +0100
commite72d7ed4da9d065afc494da304741ca5484b1f9b (patch)
treec0c4a558ac67c0d4bd7747020fe90ea7207e7912 /src
parent7d755a30393124319d3406efb98a5f612538501b (diff)
vteapp: Fix --cursor-shape thinko
Diffstat (limited to 'src')
-rw-r--r--src/vteapp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vteapp.c b/src/vteapp.c
index 15b7732..d5a90ca 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -786,9 +786,9 @@ main(int argc, char **argv)
if (cursor_set) {
vte_terminal_set_color_cursor(terminal, &cursor);
}
- if (g_strcmp0(cursor_shape, "underline")) {
+ if (g_strcmp0(cursor_shape, "underline") == 0) {
vte_terminal_set_cursor_shape(terminal, VTE_CURSOR_SHAPE_UNDERLINE);
- } else if (g_strcmp0(cursor_shape, "underline")) {
+ } else if (g_strcmp0(cursor_shape, "ibeam") == 0) {
vte_terminal_set_cursor_shape(terminal, VTE_CURSOR_SHAPE_IBEAM);
} else {
vte_terminal_set_cursor_shape(terminal, VTE_CURSOR_SHAPE_BLOCK);