summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-24 21:44:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-24 21:44:54 (GMT)
commit30226e3d9d3e67e0f4544d6bf395a516b3fb3e9d (patch)
treef3d21b1961d0fd7ffcfa28a171336dc87c4e87e3 /generic/tkImgBmap.c
parent75ae724f614a8e7f5a3b7efd18c398be6b3adbaf (diff)
parent8c12a6f12a69788e2d20a5a93fc8b3a16b0c804b (diff)
downloadtk-30226e3d9d3e67e0f4544d6bf395a516b3fb3e9d.zip
tk-30226e3d9d3e67e0f4544d6bf395a516b3fb3e9d.tar.gz
tk-30226e3d9d3e67e0f4544d6bf395a516b3fb3e9d.tar.bz2
Don't use -encoding "binary" any more in Tk
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r--generic/tkImgBmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index 2fad264..116ef41 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -513,10 +513,6 @@ TkGetBitmapData(
!= TCL_OK) {
return NULL;
}
- if (Tcl_SetChannelOption(interp, pi.chan, "-encoding", "binary")
- != TCL_OK) {
- return NULL;
- }
} else {
pi.chan = NULL;
}