SF.net SVN: geany: [2668] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Jun 9 15:03:55 UTC 2008


Revision: 2668
          http://geany.svn.sourceforge.net/geany/?rev=2668&view=rev
Author:   ntrel
Date:     2008-06-09 08:03:53 -0700 (Mon, 09 Jun 2008)

Log Message:
-----------
Fix variable names sometimes having leading junk characters.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/python.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-08 20:09:00 UTC (rev 2667)
+++ trunk/ChangeLog	2008-06-09 15:03:53 UTC (rev 2668)
@@ -1,9 +1,15 @@
+2008-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * tagmanager/python.c:
+   Fix variable names sometimes having leading junk characters.
+
+
 2008-06-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
 
- * THANKS, src/about.c: Added Anna Talianova to list of contributers for 
-   Czech translation. 
-   
+ * THANKS, src/about.c: Added Anna Talianova to list of contributers for
+   Czech translation.
 
+
 2008-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * doc/geany.html, doc/geany.html, src/encodings.c:

Modified: trunk/tagmanager/python.c
===================================================================
--- trunk/tagmanager/python.c	2008-06-08 20:09:00 UTC (rev 2667)
+++ trunk/tagmanager/python.c	2008-06-09 15:03:53 UTC (rev 2668)
@@ -571,6 +571,7 @@
 				goto skipvar;
 			/* the line is valid, parse the variable name */
 			++start;
+			vStringClear (name);
 			while (isIdentifierCharacter ((int) *start))
 			{
 				vStringPut (name, (int) *start);


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



More information about the Commits mailing list