summaryrefslogtreecommitdiffstats
path: root/generic/tkImgSVGnano.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-12-10 19:22:38 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-12-10 19:22:38 (GMT)
commit0cbbe5eeb5a312da166ebe21b7800fb47353621b (patch)
treeb194c813743dcc10a221f5639b7e851977c85e32 /generic/tkImgSVGnano.c
parent0a03c38e26768020ed31942e2d18ad165565d5e3 (diff)
downloadtk-0cbbe5eeb5a312da166ebe21b7800fb47353621b.zip
tk-0cbbe5eeb5a312da166ebe21b7800fb47353621b.tar.gz
tk-0cbbe5eeb5a312da166ebe21b7800fb47353621b.tar.bz2
Support build against Tcl 9 headers.
Diffstat (limited to 'generic/tkImgSVGnano.c')
-rw-r--r--generic/tkImgSVGnano.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgSVGnano.c b/generic/tkImgSVGnano.c
index 805907d..db4cc61 100644
--- a/generic/tkImgSVGnano.c
+++ b/generic/tkImgSVGnano.c
@@ -191,7 +191,7 @@ FileMatchSVG(
Tcl_DecrRefCount(dataObj);
return 0;
}
- data = Tcl_GetStringFromObj(dataObj, &length);
+ data = TkGetStringFromObj(dataObj, &length);
nsvgImage = ParseSVGWithOptions(interp, data, length, formatObj, &ropts);
Tcl_DecrRefCount(dataObj);
if (nsvgImage != NULL) {