Commit 2ca7e203 authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

macosx: fix resume playback for file urls containing whitespaces

(cherry picked from commit 4cdf312ea0ddfb5441d05f70903c520469100032)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a40fa94e
......@@ -1544,7 +1544,7 @@
if (url.length < 1)
return;
if (![[NSURL URLWithString:url] isFileURL])
if ([url rangeOfString:@"file://" options:NSCaseInsensitiveSearch].location != 0)
return;
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment