NSAssert(cmdline_switch, @"cmdline switch is null");
if (! [cmdline_switch getCString:buf maxLength:sizeof(buf)
encoding:NSUTF8StringEncoding]) {
NSAssert(cmdline_switch, @"cmdline switch is null");
if (! [cmdline_switch getCString:buf maxLength:sizeof(buf)
encoding:NSUTF8StringEncoding]) {
s = [s stringByPaddingToLength:18 withString:@" " startingAtIndex:0];
s = [NSString stringWithFormat:@"%@ = \"%@\"", s, def];
s = [s stringByPaddingToLength:28 withString:@" " startingAtIndex:0];
s = [s stringByPaddingToLength:18 withString:@" " startingAtIndex:0];
s = [NSString stringWithFormat:@"%@ = \"%@\"", s, def];
s = [s stringByPaddingToLength:28 withString:@" " startingAtIndex:0];
- NSLog (@"%@ %@/%@\n", s, [def class], [control class]);
+ NSLog (@"%@ %@/%@", s, [def class], [control class]);
- NSAssert2 (0, @"unknown attribute \"%@\" in \"%@\"\n", key, [node name]);
+ NSAssert2 (0, @"unknown attribute \"%@\" in \"%@\"", key, [node name]);
- NSAssert2 (0, @"duplicate %@: \"%@\", \"%@\"\n", old, val);
+ NSAssert2 (0, @"duplicate %@: \"%@\", \"%@\"", old, val);
- NSAssert1 (arg, @"no arg in %@\n", label);
- NSAssert1 (type, @"no type in %@\n", label);
+ NSAssert1 (arg, @"no arg in %@", label);
+ NSAssert1 (type, @"no type in %@", label);
- @"high-label not allowed in spinbutton \"%@\"\n", [node name]);
- NSAssert1 (!cvt, @"convert not allowed in spinbutton \"%@\"\n",
+ @"high-label not allowed in spinbutton \"%@\"", [node name]);
+ NSAssert1 (!cvt, @"convert not allowed in spinbutton \"%@\"",
- NSAssert2 (0, @"unknown type \"%@\" in \"%@\"\n", type, label);
+ NSAssert2 (0, @"unknown type \"%@\" in \"%@\"", type, label);
NSAssert1 (this_val, @"this_val null for %@", arg_set);
if (menu_key && ![menu_key isEqualToString:this_key])
NSAssert3 (0,
NSAssert1 (this_val, @"this_val null for %@", arg_set);
if (menu_key && ![menu_key isEqualToString:this_key])
NSAssert3 (0,
make_image_controls (prefs, opts, parent, node);
} else {
make_image_controls (prefs, opts, parent, node);
} else {