From b76f7551acae794e1f352070ee0e60e9e3587c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Berg?= Date: Sun, 1 Nov 2009 00:51:13 +0100 Subject: [PATCH] Safety measure: Replace unneeded stringWithFormat with stringWithString because the format string is the content string. --- PBGitCommitController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitCommitController.m b/PBGitCommitController.m index 6a77348..e11c24d 100644 --- a/PBGitCommitController.m +++ b/PBGitCommitController.m @@ -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