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

frlan at users.sourceforge.net frlan at xxxxx
Sun Jan 24 22:28:33 UTC 2010


Revision: 1139
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1139&view=rev
Author:   frlan
Date:     2010-01-24 22:28:33 +0000 (Sun, 24 Jan 2010)

Log Message:
-----------
GeanyLaTeX: Remove useless code out of on_editor_notify()

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

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-01-17 21:48:36 UTC (rev 1138)
+++ trunk/geanylatex/src/geanylatex.c	2010-01-24 22:28:33 UTC (rev 1139)
@@ -471,10 +471,6 @@
 								gchar *end_construct;
 								tmp = sci_get_line(sci, line + i);
 
-								/* Again get to the first non-blank char */
-								start = 0;
-								while (isspace(buf[start]) && buf[start] != '\0')
-									start++;
 								end_construct = g_strdup_printf("\\end%s{%s}", full_cmd, env);
 								if (strstr(tmp, end_construct) != NULL)
 								{


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