aboutsummaryrefslogtreecommitdiff
path: root/common/fmplayer_file_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fmplayer_file_win.c')
-rw-r--r--common/fmplayer_file_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fmplayer_file_win.c b/common/fmplayer_file_win.c
index 3397bcc..2910953 100644
--- a/common/fmplayer_file_win.c
+++ b/common/fmplayer_file_win.c
@@ -12,7 +12,7 @@ static void *fileread(const wchar_t *path,
void *buf = 0;
file = CreateFile(path, GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
if (file == INVALID_HANDLE_VALUE) {
- if (error) *error = FMPLAYER_FILE_ERR_FILEIO;
+ if (error) *error = FMPLAYER_FILE_ERR_NOTFOUND;
goto err;
}
LARGE_INTEGER li;