diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-01-26 22:07:51 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-01-26 22:07:51 (GMT) |
commit | c133ae3b7d7f780d440b74dabe36cff355d9e30c (patch) | |
tree | c3e3ae366baeca8378680d541378f1eb36d97385 /src | |
parent | 7d8bc8e2b7301ff8f4a6cdebdea3460cb0054b1f (diff) |
cleanup macosx code again
Diffstat (limited to 'src')
-rw-r--r-- | src/imageutils-macosx.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageutils-macosx.cc b/src/imageutils-macosx.cc index 9f33ea0..e3a1983 100644 --- a/src/imageutils-macosx.cc +++ b/src/imageutils-macosx.cc @@ -54,7 +54,7 @@ bool write_png(std::ostream &output, unsigned char *pixels, int width, int heigh /* CFStringRef fname = CFStringCreateWithCString(kCFAllocatorDefault, filename, kCFStringEncodingUTF8); CFURLRef fileURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - fname, kCFURLPOSIXPathStyle, false); + fname, kCFURLPOSIXPathStyle, false); if (!fileURL) { std::cerr << "Unable to create file URL ref."; return false; |