Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 18 Mar 2012 03:41:15 Commit: fba329e4a2a159e2ccf39a1ea7bc6ec5fc41ccd3 https://github.com/geany/geany-plugins/commit/fba329e4a2a159e2ccf39a1ea7bc6e...
Log Message: ----------- Wrap Words Addon: don't mix declaration and code to be C89 compliant
Modified Paths: -------------- addons/src/ao_wrapwords.c
Modified: addons/src/ao_wrapwords.c 8 files changed, 5 insertions(+), 3 deletions(-) =================================================================== @@ -48,12 +48,14 @@ enum
void enclose_text_action (guint key_id) { + gint selection_end; + gchar insert_chars [2] = {0, 0}; + ScintillaObject *sci_obj; + if (!enclose_enabled) return;
- gint selection_end; - gchar insert_chars [2] = {0, 0}; - ScintillaObject *sci_obj = document_get_current ()->editor->sci; + sci_obj = document_get_current ()->editor->sci;
if (sci_get_selected_text_length (sci_obj) < 2) return;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).