Clementine-audio-player-Mac.../dist/windows/xine-input_file.patch

12 lines
388 B
Diff

--- src/input/input_file.c~ 2010-02-13 18:29:48.000000000 +0000
+++ src/input/input_file.c 2010-02-13 18:29:48.000000000 +0000
@@ -362,7 +362,7 @@
else
filename = strdup(this->mrl); /* NEVER unescape plain file names! */
- this->fh = open (filename, O_RDONLY|O_BINARY);
+ this->fh = open (filename+1, O_RDONLY|O_BINARY);
if (this->fh == -1) {
if (errno == EACCES) {