summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index f6d3216..7938539 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -1436,11 +1436,6 @@ ReadIconOrCursorFromFile(
Tcl_Close(NULL, channel);
return NULL;
}
- if (Tcl_SetChannelOption(interp, channel, "-encoding", "binary")
- != TCL_OK) {
- Tcl_Close(NULL, channel);
- return NULL;
- }
/*
* Allocate memory for the resource structure