summaryrefslogtreecommitdiffstats
path: root/audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
blob: ea2c0eec6c7dd7645bfe5eac16be9746ce4087f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)