Skip to content

Commit

Permalink
Explicitly specify custom paths are not directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrous26 committed Dec 10, 2012
1 parent ffa444a commit ab6d05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/screen_recorder/screen_recorder.c
Expand Up @@ -71,7 +71,7 @@ rb_recorder_start(int argc, VALUE* argv, VALUE self)
default:
path = [NSString stringWithCString:StringValueCStr(argv[0])
encoding:NSUTF8StringEncoding];
path_url = [NSURL fileURLWithPath:path];
path_url = [NSURL fileURLWithPath:path isDirectory:NO];
result = [OBJC_UNWRAP(self) start:path_url];
[path release];
[path_url release];
Expand Down

0 comments on commit ab6d05a

Please sign in to comment.