Branch: refs/heads/master Author: WilliamFraser william.fraser@virgin.net Committer: WilliamFraser william.fraser@virgin.net Date: Fri, 30 Mar 2012 20:37:26 Commit: e6bedf633389c4cbd8c2854a8e4be679203139af https://github.com/geany/geany-plugins/commit/e6bedf633389c4cbd8c2854a8e4be6...
Log Message: ----------- Merge pull request #2 from frlan/geanymacro_fix_a_warning
Geanymacro fix a warning
Modified Paths: -------------- geanymacro/src/geanymacro.c
Modified: geanymacro/src/geanymacro.c 7 files changed, 3 insertions(+), 4 deletions(-) =================================================================== @@ -151,7 +151,7 @@ {SCI_SEARCHPREV,"Search for previous """}, {SCI_SEARCHANCHOR,"Set start of search to beginning of selection"},
-/* editor commands that don't seem to work well in editing +/* editor commands that don't seem to work well in editing * {SCI_FORMFEED,N_("FormFeed")}, * * other commands ommited as they don't appear to do anything different to existing commands @@ -350,7 +350,7 @@ static void ReplayMacro(Macro *m) bFoundAnchor=TRUE;
/* possibility that user edited macros might not have anchor before search */ - if((me->message==SCI_SEARCHNEXT || me->message==SCI_SEARCHPREV) && + if((me->message==SCI_SEARCHNEXT || me->message==SCI_SEARCHPREV) && bFoundAnchor==FALSE) { scintilla_send_message(sci,SCI_SEARCHANCHOR,0,0); @@ -2103,7 +2103,6 @@ static void DoEditMacro(GtkMenuItem *menuitem, gpointer gdata) GTK_SELECTION_SINGLE);
/* add table to dialog */ - gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox),table); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox),table,FALSE,FALSE,2); gtk_widget_show(table);
@@ -2185,7 +2184,7 @@ static void DoEditMacro(GtkMenuItem *menuitem, gpointer gdata) /* Signal that macros have changed (and need to be saved) */ bMacrosHaveChanged=TRUE; } - + /* free memory */ g_free(cTemp); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).