[gtksourceview/wip/chergert/vim] fix mark name check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] fix mark name check
- Date: Tue, 9 Nov 2021 01:29:10 +0000 (UTC)
commit 0bc7456911da210e51408524b67acbed09c97205
Author: Christian Hergert <chergert redhat com>
Date: Mon Nov 8 17:01:37 2021 -0800
fix mark name check
gtksourceview/vim/gtk-source-vim-marks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-marks.c b/gtksourceview/vim/gtk-source-vim-marks.c
index 3721b43b..c1540e49 100644
--- a/gtksourceview/vim/gtk-source-vim-marks.c
+++ b/gtksourceview/vim/gtk-source-vim-marks.c
@@ -80,7 +80,7 @@ gtk_source_vim_marks_get_mark (GtkSourceVimMarks *self,
g_return_val_if_fail (GTK_SOURCE_IS_VIM_MARKS (self), NULL);
g_return_val_if_fail (name != NULL, NULL);
- if (name[0] == '<' || name[1] == '>')
+ if (name[0] == '<' || name[0] == '>')
{
GtkTextIter iter, selection;
GtkSourceBuffer *buffer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]