diff options
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 1099375..017cba9 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -2816,7 +2816,7 @@ Tk_WmObjCmd( argv1 = Tcl_GetString(objv[1]); length = objv[1]->length; - if ((argv1[0] == 't') && !strncmp(argv1, "tracing", objv[1]->length) + if ((argv1[0] == 't') && !strncmp(argv1, "tracing", length) && (length >= 3)) { int wmTracing; |