diff options
author | Brody <brody@ieee.org> | 2013-12-11 05:46:04 (GMT) |
---|---|---|
committer | Brody <brody@ieee.org> | 2013-12-11 05:46:04 (GMT) |
commit | ef92a395a8498230921fe3d5edb694c2388fdbb9 (patch) | |
tree | 1d51892f9cf9b61fdf01eac2f8e95a6e32c54a1d /src/CocoaUtils.mm | |
parent | d7d5bea7363703c76b9787598304bfc838e893ee (diff) | |
parent | 50fb5bb135f62ed56230d8b8afd691284616b4f6 (diff) |
Merge pull request #1 from openscad/brodykenrick-master
Brodykenrick master
Diffstat (limited to 'src/CocoaUtils.mm')
-rw-r--r-- | src/CocoaUtils.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CocoaUtils.mm b/src/CocoaUtils.mm index 92640fd..9856b3d 100644 --- a/src/CocoaUtils.mm +++ b/src/CocoaUtils.mm @@ -8,7 +8,7 @@ void CocoaUtils::endApplication() object:nil]; } -void CocoaUtils::nslog(const std::string &str, void *userdata) +void CocoaUtils::nslog(const std::string &str, void * /* userdata */) { - NSLog([NSString stringWithUTF8String: str.c_str()]); + NSLog(@"%s", str.c_str()); } |