Skip to content
Browse files

GeanyLaTeX: Remove useless \ before %

  • Loading branch information...
1 parent 3cf7815 commit 0f23c89121ecb414d7c26d89537a73d2f961cf0a @b4n b4n committed Jul 8, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 geanylatex/src/geanylatex.c
View
10 geanylatex/src/geanylatex.c
@@ -1615,11 +1615,11 @@ on_wizard_response(G_GNUC_UNUSED GtkDialog *dialog, gint response,
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 @@ on_wizard_response(G_GNUC_UNUSED GtkDialog *dialog, gint response,
}
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 @@ on_wizard_response(G_GNUC_UNUSED GtkDialog *dialog, gint response,
{
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)
{

0 comments on commit 0f23c89

Please sign in to comment.
Something went wrong with that request. Please try again.