summaryrefslogtreecommitdiffstats
path: root/audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
blob: ea2c0eec6c7dd7645bfe5eac16be9746ce4087f6 (plain)
http://bugs.gentoo.org/451296

--- interface/tk_c.c
+++ interface/tk_c.c
@@ -913,7 +913,7 @@
 	vsnprintf(buf, sizeof(buf), fmt, ap);
 	Tcl_Eval(my_interp, buf);
 	va_end(ap);
-	return my_interp->result;
+	return Tcl_GetStringResult(my_interp);
 }
 
 static const char *v_get2(const char *v1, const char *v2)