[gnome-builder/wip/libide] libide: start from tab_stop of 1



commit 4d60d6f3508b5e873ddeceb2f94db521f2042022
Author: Christian Hergert <christian hergert me>
Date:   Mon Mar 16 02:08:06 2015 -0700

    libide: start from tab_stop of 1

 libide/clang/ide-clang-completion-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/clang/ide-clang-completion-item.c b/libide/clang/ide-clang-completion-item.c
index 4543ae1..8938be1 100644
--- a/libide/clang/ide-clang-completion-item.c
+++ b/libide/clang/ide-clang-completion-item.c
@@ -143,7 +143,7 @@ ide_clang_completion_item_lazy_init (IdeClangCompletionItem *self)
           g_string_append (markup, escaped);
           chunk = ide_source_snippet_chunk_new ();
           ide_source_snippet_chunk_set_text (chunk, text);
-          ide_source_snippet_chunk_set_tab_stop (chunk, tab_stop++);
+          ide_source_snippet_chunk_set_tab_stop (chunk, ++tab_stop);
           ide_source_snippet_add_chunk (snippet, chunk);
           g_clear_object (&chunk);
           break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]