summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-09-07 06:00:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-09-07 06:00:07 (GMT)
commit4a57a3f5d91e10c3cfe7cb28bb038d2e9cd1d179 (patch)
tree4410aac3258c9b4b226daf255134e946dcc70ec7 /macosx
parent0a06dd45c40b25a43147054901f36fcaacfee637 (diff)
downloadtk-4a57a3f5d91e10c3cfe7cb28bb038d2e9cd1d179.zip
tk-4a57a3f5d91e10c3cfe7cb28bb038d2e9cd1d179.tar.gz
tk-4a57a3f5d91e10c3cfe7cb28bb038d2e9cd1d179.tar.bz2
Cosmetic changes
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXWm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 782bc9d..4954729 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -2387,7 +2387,7 @@ WmIconbadgeCmd(
if ([label containsString:@"."]) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't use \"%s\" as icon badge", Tcl_GetString(objv[3])));
+ "can't use \"%s\" as icon badge", Tcl_GetString(objv[3])));
return TCL_ERROR;
}
@@ -2399,13 +2399,13 @@ WmIconbadgeCmd(
NSArray *array = @[@"", @"!"];
if ([array containsObject: label]) {
- [dockicon setBadgeLabel: label];
+ [dockicon setBadgeLabel:label];
} else if (number > 0) {
NSString *str = [@(number) stringValue];
[dockicon setBadgeLabel:str];
} else {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't use \"%s\" as icon badge", Tcl_GetString(objv[3])));
+ "can't use \"%s\" as icon badge", Tcl_GetString(objv[3])));
return TCL_ERROR;
}
return TCL_OK;