summaryrefslogtreecommitdiffstats
path: root/generic/tkStubImg.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkStubImg.c')
-rw-r--r--generic/tkStubImg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkStubImg.c b/generic/tkStubImg.c
index 7e1e23f..691bf78 100644
--- a/generic/tkStubImg.c
+++ b/generic/tkStubImg.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStubImg.c,v 1.1 2000/02/08 11:31:33 hobbs Exp $
+ * RCS: @(#) $Id: tkStubImg.c,v 1.2 2000/07/17 23:03:20 ericm Exp $
*/
#include "tcl.h"
@@ -61,6 +61,8 @@ Tk_InitImageArgs(interp, argc, argvPtr)
}
if (cmdInfo.isNativeObjectProc == 1) {
useNewImage = 1; /* Tk uses the new image interface */
+ } else {
+ useNewImage = 0; /* Tk uses old image interface */
}
}
if (useNewImage && (argc > 0)) {