Revision: 1887 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1887&view=re... Author: frlan Date: 2011-01-29 13:43:08 +0000 (Sat, 29 Jan 2011)
Log Message: ----------- HTMLTable: Don't mix up definition of variables and code
Modified Paths: -------------- trunk/geany-plugins/htmltable/src/htmltable.c
Modified: trunk/geany-plugins/htmltable/src/htmltable.c =================================================================== --- trunk/geany-plugins/htmltable/src/htmltable.c 2011-01-29 13:40:55 UTC (rev 1886) +++ trunk/geany-plugins/htmltable/src/htmltable.c 2011-01-29 13:43:08 UTC (rev 1887) @@ -61,6 +61,9 @@ /* Checking whether we do have something we can work on - Returning if not */ if (rows != NULL) { + guint i; + guint j; + /* Adding header to replacement */ replacement_str = g_string_new("<table>\n");
@@ -73,8 +76,6 @@ /* Iteration onto rows and building up lines of table for * replacement */
- guint i; - guint j; for (i = 0; rows[i] != NULL ; i++) { gchar **columns = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.