Skip to content

Commit

Permalink
trim carriage return
Browse files Browse the repository at this point in the history
  • Loading branch information
c0diq committed May 1, 2015
1 parent 9339ccb commit 989b0a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/System/Cocoa/NptCocoaConsole.mm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
void
NPT_Console::Output(const char* message)
{
printf("%s", message);
NSLog(@"%s", message);
NSLog(@"%@", [@(message) stringByTrimmingCharactersInSet:[NSCharacterSet newlineCharacterSet]]);
}

0 comments on commit 989b0a8

Please sign in to comment.