[geany/geany-plugins] b879af: GeanyLaTeX: Fix conditional end of undo action.
Frank Lanitz
git-noreply at xxxxx
Sat Jun 25 17:52:30 UTC 2016
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Sat, 25 Jun 2016 17:52:30 UTC
Commit: b879af263f51373aa1afb649b91e4ae585ff8bb7
https://github.com/geany/geany-plugins/commit/b879af263f51373aa1afb649b91e4ae585ff8bb7
Log Message:
-----------
GeanyLaTeX: Fix conditional end of undo action.
Fixes #455
Modified Paths:
--------------
geanylatex/src/latexstructure.c
Modified: geanylatex/src/latexstructure.c
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -94,11 +94,10 @@ void glatex_structure_lvlup(void)
haystack = NULL;
sci_replace_sel(doc->editor->sci, tmp);
g_free(tmp);
- sci_end_undo_action(doc->editor->sci);
break;
}
}
-
+ sci_end_undo_action(doc->editor->sci);
if (haystack != NULL)
g_string_free(haystack, TRUE);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list