[geany/geany-plugins] 0f23c8: GeanyLaTeX: Remove useless \ before %
Colomban Wendling
git-noreply at xxxxx
Sun Jul 8 17:58:46 UTC 2012
Branch: refs/heads/1.22_release
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 08 Jul 2012 17:58:46
Commit: 0f23c89121ecb414d7c26d89537a73d2f961cf0a
https://github.com/geany/geany-plugins/commit/0f23c89121ecb414d7c26d89537a73d2f961cf0a
Log Message:
-----------
GeanyLaTeX: Remove useless \ before %
Modified Paths:
--------------
geanylatex/src/geanylatex.c
Modified: geanylatex/src/geanylatex.c
10 files changed, 5 insertions(+), 5 deletions(-)
===================================================================
@@ -1615,11 +1615,11 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
gchar* author_string = NULL;
if (documentclass_int == 3)
{
- utils_string_replace_all(code, "{AUTHOR}", "\% \\signature{}\n");
+ utils_string_replace_all(code, "{AUTHOR}", "% \\signature{}\n");
}
else
{
- utils_string_replace_all(code, "{AUTHOR}", "\% \\author{}\n");
+ utils_string_replace_all(code, "{AUTHOR}", "% \\author{}\n");
}
utils_string_replace_all(code, "{AUTHOR}", author_string);
if (author != NULL)
@@ -1639,7 +1639,7 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
}
else
{
- utils_string_replace_all(code, "{DATE}", "\% \\date{}\n");
+ utils_string_replace_all(code, "{DATE}", "% \\date{}\n");
if (date != NULL)
{
g_free(date);
@@ -1666,11 +1666,11 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
{
if (documentclass_int == 3)
{
- utils_string_replace_all(code, "{TITLE}", "\% \\subject{} \n");
+ utils_string_replace_all(code, "{TITLE}", "% \\subject{} \n");
}
else
{
- utils_string_replace_all(code, "{TITLE}", "\% \\title{} \n");
+ utils_string_replace_all(code, "{TITLE}", "% \\title{} \n");
}
if (title != NULL)
{
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Plugins-Commits
mailing list