SF.net SVN: geany:[3591] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Wed Feb 18 15:20:27 UTC 2009


Revision: 3591
          http://geany.svn.sourceforge.net/geany/?rev=3591&view=rev
Author:   eht16
Date:     2009-02-18 15:20:27 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
Fix broken symbol list tooltips when tag names contain ampersands.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/symbols.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-18 14:57:58 UTC (rev 3590)
+++ trunk/ChangeLog	2009-02-18 15:20:27 UTC (rev 3591)
@@ -3,6 +3,7 @@
  * src/symbols.c:
    Fix a possible crash when comparing symbol names
    (could be related to Ubuntu bug #147151).
+   Fix broken symbol list tooltips when tag names contain ampersands.
 
 
 2009-02-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c	2009-02-18 14:57:58 UTC (rev 3590)
+++ trunk/src/symbols.c	2009-02-18 15:20:27 UTC (rev 3591)
@@ -898,6 +898,9 @@
 			encodings_convert_to_utf8_from_charset(utf8_name, (gsize) -1, doc->encoding, TRUE));
 	}
 
+	if (utf8_name != NULL)
+		setptr(utf8_name, g_markup_escape_text(utf8_name, -1));
+
 	return utf8_name;
 }
 


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