Kaydet (Commit) 7893d465 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix bug with keybindings using check_current_word().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2327 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 9f878187
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
* doc/geany.txt, doc/geany.html: * doc/geany.txt, doc/geany.html:
Update 'Filtering out version control files' section for new versions Update 'Filtering out version control files' section for new versions
of GNU Grep. of GNU Grep.
* src/keybindings.c:
Fix bug with keybindings using check_current_word().
2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
...@@ -1108,7 +1108,7 @@ static gboolean check_current_word(void) ...@@ -1108,7 +1108,7 @@ static gboolean check_current_word(void)
gint idx = document_get_cur_idx(); gint idx = document_get_cur_idx();
gint pos; gint pos;
if (DOC_IDX_VALID(idx)) if (! DOC_IDX_VALID(idx))
return FALSE; return FALSE;
pos = sci_get_current_position(doc_list[idx].sci); pos = sci_get_current_position(doc_list[idx].sci);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment