[gnome-builder] vim: Add additional parenthesis to make compilers happy
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: Add additional parenthesis to make compilers happy
- Date: Sun, 5 Oct 2014 22:12:12 +0000 (UTC)
commit 7a286688bb8d13640467e2f9190d91810b68e31a
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Oct 6 00:09:42 2014 +0200
vim: Add additional parenthesis to make compilers happy
Gah, I updated the patch for MOTION_EXCLUSIVE and forgot to update
the LINEWISE one ...
src/editor/gb-editor-vim.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index 2c82574..6b76766 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -1219,7 +1219,7 @@ gb_editor_vim_apply_motion (GbEditorVim *vim,
if (!cmd || (cmd->type != GB_EDITOR_VIM_COMMAND_MOVEMENT))
return;
- if (cmd->flags & GB_EDITOR_VIM_COMMAND_FLAG_MOTION_LINEWISE)
+ if ((cmd->flags & GB_EDITOR_VIM_COMMAND_FLAG_MOTION_LINEWISE))
gb_editor_vim_select_line (vim);
else
gb_editor_vim_select_char (vim);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]