SkyProject4NewLink.m (opengroupware-5.5rc2) | : | SkyProject4NewLink.m (opengroupware-5.5rc3) | ||
---|---|---|---|---|
skipping to change at line 316 | skipping to change at line 316 | |||
} | } | |||
if (debugOn) { | if (debugOn) { | |||
[self debugWithFormat:@"link to favorite: %@ to %@", | [self debugWithFormat:@"link to favorite: %@ to %@", | |||
self->favorite, target]; | self->favorite, target]; | |||
} | } | |||
if ([[fname pathExtension] length] == 0) { | if ([[fname pathExtension] length] == 0) { | |||
NSString *ttype; | NSString *ttype; | |||
ttype = [self favoriteType]; | ttype = [self favoriteType]; | |||
if ([ttype length] >= 0) | if ([ttype length] > 0) | |||
fname = [fname stringByAppendingPathExtension:ttype]; | fname = [fname stringByAppendingPathExtension:ttype]; | |||
} | } | |||
else if (debugOn) { | else if (debugOn) { | |||
[self debugWithFormat:@"using path extension: %@", | [self debugWithFormat:@"using path extension: %@", | |||
[fname pathExtension]]; | [fname pathExtension]]; | |||
} | } | |||
} | } | |||
else if ([target length] == 0) { | else if ([target length] == 0) { | |||
[self setErrorString:@"specify a link target!"]; | [self setErrorString:@"specify a link target!"]; | |||
return nil; | return nil; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |