diff options
author | chengyemao <chengyemao> | 2005-01-10 04:15:02 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2005-01-10 04:15:02 (GMT) |
commit | e42e0cc3ac2733a038be4af7d5735c478c35a219 (patch) | |
tree | db6f4dd0f13ea139bfb47c34915d6dbf4ee6591a /generic/tkFrame.c | |
parent | a7a47329a956fdba580aea512ac1ec6a8a33106b (diff) | |
download | tk-e42e0cc3ac2733a038be4af7d5735c478c35a219.zip tk-e42e0cc3ac2733a038be4af7d5735c478c35a219.tar.gz tk-e42e0cc3ac2733a038be4af7d5735c478c35a219.tar.bz2 |
Correction of handling the return value of TkpUseWindow
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r-- | generic/tkFrame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c index b27b454..d567815 100644 --- a/generic/tkFrame.c +++ b/generic/tkFrame.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkFrame.c,v 1.19 2005/01/09 18:28:05 chengyemao Exp $ + * RCS: @(#) $Id: tkFrame.c,v 1.20 2005/01/10 04:15:02 chengyemao Exp $ */ #include "default.h" @@ -805,7 +805,7 @@ FrameWidgetObjCmd(clientData, interp, objc, objv) && (strncmp(arg, "-visual", length) == 0))) { if(c == 'u') { CONST char*string = Tcl_GetString(objv[i+1]); - if(TCL_OK == TkpUseWindow(interp, framePtr->tkwin, string)) { + if(TCL_OK != TkpUseWindow(interp, framePtr->tkwin, string)) { result = TCL_ERROR; goto done; } |