Safety measure: Replace unneeded stringWithFormat with stringWithString because the format string is the content string.

This commit is contained in:
André Berg
2009-11-01 00:51:13 +01:00
parent 7892ac4612
commit b76f7551ac
+1 -1
View File
@@ -150,7 +150,7 @@
{
[commitMessageView setEditable:YES];
[commitMessageView setString:@""];
[webController setStateMessage:[NSString stringWithFormat:[[notification userInfo] objectForKey:@"description"]]];
[webController setStateMessage:[NSString stringWithString:[[notification userInfo] objectForKey:@"description"]]];
}
- (void)commitFailed:(NSNotification *)notification