diff options
author | ritsuka <[email protected]> | 2015-02-25 06:28:41 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-02-25 06:28:41 +0000 |
commit | 2f901e5d2f95d1a6ad553b6ebad6e1595c7edabf (patch) | |
tree | 12c5a356ddca7a5265d7c8e882fa539fac412582 /macosx/HBOutputFileWriter.m | |
parent | 7e6a28f65c7670a9928fd2b8e72aa247d900db28 (diff) |
MacGui: fix a crash on 10.8 and previous versions. NSURL fileSystemRepresentation was added in 10.9.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6942 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBOutputFileWriter.m')
-rw-r--r-- | macosx/HBOutputFileWriter.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBOutputFileWriter.m b/macosx/HBOutputFileWriter.m index 919ce04dc..7215c1723 100644 --- a/macosx/HBOutputFileWriter.m +++ b/macosx/HBOutputFileWriter.m @@ -24,7 +24,7 @@ error:NULL]; _url = [url copy]; - f = fopen(url.fileSystemRepresentation, "w"); + f = fopen(url.path.fileSystemRepresentation, "w"); f = freopen(NULL, "a", f); [self writeHeaderForReason:@"Session"]; |