Skip to content

Commit 3ada98c

Browse files
committed
Use of stringWithFormat in this situation is overkill.
1 parent 22e4f18 commit 3ada98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBGitCommitController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ - (void)commitFinished:(NSNotification *)notification
170170
{
171171
[commitMessageView setEditable:YES];
172172
[commitMessageView setString:@""];
173-
[webController setStateMessage:[NSString stringWithFormat:[[notification userInfo] objectForKey:@"description"]]];
173+
[webController setStateMessage:[NSString stringWithString:[[notification userInfo] objectForKey:@"description"]]];
174174
[repository reloadRefs];
175175
}
176176

0 commit comments

Comments
 (0)