summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-02-07 12:41:55 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-02-07 12:41:55 (GMT)
commit8f1c4eb009d892fae50c3c0036a6215a9a74a826 (patch)
tree10a21d6c0a44ea8d5cba77ed1add4d86c97d8264 /generic/tkImgPhoto.c
parentd09b260e24e82ada4a1b0ea0a2383df28571a1ad (diff)
downloadtk-8f1c4eb009d892fae50c3c0036a6215a9a74a826.zip
tk-8f1c4eb009d892fae50c3c0036a6215a9a74a826.tar.gz
tk-8f1c4eb009d892fae50c3c0036a6215a9a74a826.tar.bz2
Remove superfluous .AS call in CrtPhImgFmt.3, and fix typos and indentation.
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 37977f1..476149d 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -2090,7 +2090,7 @@ ImgPhotoConfigureModel(
}
if (metadataInObj) {
/*
- * make -metadata a dict.
+ * Make -metadata a dict.
* Take also empty metadatas as this may be a sign to replace
* existing metadata.
*/
@@ -2246,7 +2246,6 @@ ImgPhotoConfigureModel(
goto errorExit;
}
} else {
-
if (imageFormatVersion3->stringReadProc(interp, tempdata, tempformat,
modelPtr->metadata, (Tk_PhotoHandle) modelPtr, 0, 0,
imageWidth, imageHeight, 0, 0, metadataOutObj) != TCL_OK) {
@@ -2866,7 +2865,7 @@ if (formatPtr == NULL) {
}
/*
- * Check if driver has shared or changed the metadata tcl object.
+ * Check if driver has shared or changed the metadata Tcl object.
* In this case, release and recreate it.
*/