[gnome-builder] editor: use multi-line comment.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: use multi-line comment.
- Date: Sat, 4 Oct 2014 17:07:35 +0000 (UTC)
commit 1064be612e69d8b1658115ec201a2e0eb22e878d
Author: Christian Hergert <christian hergert me>
Date: Sat Oct 4 10:07:19 2014 -0700
editor: use multi-line comment.
src/editor/gb-editor-vim.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index d8746f2..9ebc25c 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -1822,8 +1822,10 @@ gb_editor_vim_page_down (GbEditorVim *vim)
gtk_text_view_get_iter_at_location (vim->priv->text_view, &iter,
rect.x, rect.y + rect.height);
- // rect.y + rect.height is the next line affter the end of the buffer so
- // now we have to decrease one more.
+ /*
+ * rect.y + rect.height is the next line affter the end of the buffer so
+ * now we have to decrease one more.
+ */
line = MAX (0, gtk_text_iter_get_line (&iter) - SCROLL_OFF - 1);
gtk_text_iter_set_line (&iter, line);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]