[gnome-builder/wip/halfline/repeatable-indent: 2/4] vim: don't require non-zero captured events for replay
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/halfline/repeatable-indent: 2/4] vim: don't require non-zero captured events for replay
- Date: Tue, 10 Feb 2015 19:58:32 +0000 (UTC)
commit c11598c6dcdad5547f334e8fdf5a6ff0ee487a6c
Author: Ray Strode <rstrode redhat com>
Date: Tue Feb 10 14:34:14 2015 -0500
vim: don't require non-zero captured events for replay
Some commands that should be replayable don't have input
events associated with them, so requiring captured events
is wrong in those cases.
https://bugzilla.gnome.org/show_bug.cgi?id=744286
src/vim/gb-source-vim.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/vim/gb-source-vim.c b/src/vim/gb-source-vim.c
index b51d567..9439ac7 100644
--- a/src/vim/gb-source-vim.c
+++ b/src/vim/gb-source-vim.c
@@ -4586,8 +4586,7 @@ gb_source_vim_cmd_repeat (GbSourceVim *vim,
g_return_if_fail (GB_IS_SOURCE_VIM (vim));
if (!GTK_SOURCE_IS_VIEW (vim->priv->text_view) ||
- !vim->priv->recording_trigger ||
- !vim->priv->captured_events->len)
+ !vim->priv->recording_trigger)
return;
source_view = GTK_SOURCE_VIEW (vim->priv->text_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]