SF.net SVN: geany-plugins:[1143] trunk/geanylatex/src/geanylatex.c

frlan at users.sourceforge.net frlan at xxxxx
Wed Jan 27 22:14:44 UTC 2010


Revision: 1143
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1143&view=rev
Author:   frlan
Date:     2010-01-27 22:14:44 +0000 (Wed, 27 Jan 2010)

Log Message:
-----------
GeanyLaTeX. fix a bug where special character are getting replaced in wrong situations

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

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-01-27 15:22:01 UTC (rev 1142)
+++ trunk/geanylatex/src/geanylatex.c	2010-01-27 22:14:44 UTC (rev 1143)
@@ -504,7 +504,7 @@
 	} /* End of latex autocpletion */
 
 	/* Toggle special characters on input */
-	if (editor->document->file_type->id != GEANY_FILETYPES_LATEX &&
+	if (editor->document->file_type->id == GEANY_FILETYPES_LATEX &&
 		toggle_active == TRUE)
 	{
 		if (nt->nmhdr.code == SCN_CHARADDED)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list