[geany/geany-plugins] 564e77: GeanyLaTeX: Removing somelogic always validated to false

Frank Lanitz git-noreply at xxxxx
Sun Nov 3 21:22:37 UTC 2013


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sun, 03 Nov 2013 21:22:37 UTC
Commit:      564e77e97341f497e5709f6c9f0e71f1c5596427
             https://github.com/geany/geany-plugins/commit/564e77e97341f497e5709f6c9f0e71f1c5596427

Log Message:
-----------
GeanyLaTeX: Removing somelogic always validated to false


Modified Paths:
--------------
    geanylatex/src/geanylatex.c

Modified: geanylatex/src/geanylatex.c
3 files changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -1533,8 +1533,7 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
 		if (template_int < LATEX_WIZARD_TEMPLATE_END ||
 			glatex_wizard.template_list == NULL)
 		{
-			if (template_int == LATEX_WIZARD_TEMPLATE_DEFAULT &&
-				documentclass_int == 3 && documentclass_int == 4)
+			if (template_int == LATEX_WIZARD_TEMPLATE_DEFAULT)
 				code = g_string_new(TEMPLATE_LATEX);
 			else if (documentclass_int == 3)
 				code = g_string_new(TEMPLATE_LATEX_LETTER);



--------------
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