Revision: 5335 http://geany.svn.sourceforge.net/geany/?rev=5335&view=rev Author: ntrel Date: 2010-10-27 16:12:05 +0000 (Wed, 27 Oct 2010)
Log Message: ----------- Restore check for malformed XML tag from last commit.
Modified Paths: -------------- trunk/src/utils.c
Modified: trunk/src/utils.c =================================================================== --- trunk/src/utils.c 2010-10-27 14:20:18 UTC (rev 5334) +++ trunk/src/utils.c 2010-10-27 16:12:05 UTC (rev 5335) @@ -290,7 +290,7 @@ return NULL; } begin = &sel[0]; - cur = &sel[size-1]; + cur = &sel[size - 1];
/* Skip to the character before the closing brace */ while (cur > begin) @@ -309,6 +309,8 @@ { if (*cur == '<') break; + else if (*cur == '>') + break; --cur; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.