@@ -167,17 +167,17 @@ static Tcl_ThreadDataKey dataKey;
167167
168168static const Tk_ConfigSpec configSpecs [] = {
169169 {TK_CONFIG_STRING , "-data" , NULL , NULL ,
170- NULL , TCL_INDEX_NONE , TK_CONFIG_NULL_OK | TK_CONFIG_OBJS , NULL },
170+ NULL , TCL_INDEX_NONE , TK_CONFIG_OBJS | TK_CONFIG_NULL_OK , NULL },
171171 {TK_CONFIG_STRING , "-file" , NULL , NULL ,
172- NULL , offsetof(PhotoModel , fileObj ), TK_CONFIG_NULL_OK | TK_CONFIG_OBJS , NULL },
172+ NULL , offsetof(PhotoModel , fileObj ), TK_CONFIG_OBJS | TK_CONFIG_NULL_OK , NULL },
173173 {TK_CONFIG_STRING , "-format" , NULL , NULL ,
174- NULL , TCL_INDEX_NONE , TK_CONFIG_NULL_OK | TK_CONFIG_OBJS , NULL },
174+ NULL , TCL_INDEX_NONE , TK_CONFIG_OBJS | TK_CONFIG_NULL_OK , NULL },
175175 {TK_CONFIG_DOUBLE , "-gamma" , NULL , NULL ,
176176 DEF_PHOTO_GAMMA , offsetof(PhotoModel , gamma ), 0 , NULL },
177177 {TK_CONFIG_INT , "-height" , NULL , NULL ,
178178 DEF_PHOTO_HEIGHT , offsetof(PhotoModel , userHeight ), 0 , NULL },
179179 {TK_CONFIG_STRING , "-metadata" , NULL , NULL ,
180- NULL , TCL_INDEX_NONE , TK_CONFIG_NULL_OK | TK_CONFIG_OBJS , NULL },
180+ NULL , TCL_INDEX_NONE , TK_CONFIG_OBJS | TK_CONFIG_NULL_OK , NULL },
181181 {TK_CONFIG_UID , "-palette" , NULL , NULL ,
182182 DEF_PHOTO_PALETTE , offsetof(PhotoModel , palette ), 0 , NULL },
183183 {TK_CONFIG_INT , "-width" , NULL , NULL ,
@@ -1650,7 +1650,7 @@ GetExtension(
16501650 * Side effects:
16511651 * Fields in *optPtr get filled in. The value of optIndexPtr is updated
16521652 * to contain the index of the first element in argv[] that was not
1653- * parsed, or argc if the end of objv[] was reached.
1653+ * parsed, or objc if the end of objv[] was reached.
16541654 *
16551655 *----------------------------------------------------------------------
16561656 */
0 commit comments