[gtksourceview/wip/chergert/vim: 119/363] use 0 to reset count
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 119/363] use 0 to reset count
- Date: Mon, 8 Nov 2021 19:53:48 +0000 (UTC)
commit c07fba73f6a0d8b94a75c75f94cc9b7587849c60
Author: Christian Hergert <chergert redhat com>
Date: Thu Oct 28 14:31:24 2021 -0700
use 0 to reset count
gtksourceview/vim/gtk-source-vim-state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-state.c b/gtksourceview/vim/gtk-source-vim-state.c
index 72003029..f491d5d7 100644
--- a/gtksourceview/vim/gtk-source-vim-state.c
+++ b/gtksourceview/vim/gtk-source-vim-state.c
@@ -787,7 +787,7 @@ gtk_source_vim_state_set_count (GtkSourceVimState *self,
g_return_if_fail (GTK_SOURCE_IS_VIM_STATE (self));
priv->count = count ? count : 1;
- priv->count_set = TRUE;
+ priv->count_set = count != 0;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]