diff options
author | phunkyfish <phunkyfish@gmail.com> | 2024-10-15 17:03:49 +0100 |
---|---|---|
committer | phunkyfish <phunkyfish@gmail.com> | 2024-10-15 17:29:45 +0100 |
commit | 2aba1fc4723e908fe75cbc261e71d6e313744c2b (patch) | |
tree | 65f485a760110f07ee27ae3a7e681ec47f3b1d84 | |
parent | e79d0ce8ea6ea75daa4cacd108794f3762b5ad20 (diff) |
[addons] compare file open flags to addon enum instead of Kodi core's
-rw-r--r-- | xbmc/addons/interfaces/Filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/interfaces/Filesystem.cpp b/xbmc/addons/interfaces/Filesystem.cpp index 9f22b67ecc..1056807056 100644 --- a/xbmc/addons/interfaces/Filesystem.cpp +++ b/xbmc/addons/interfaces/Filesystem.cpp @@ -151,7 +151,7 @@ unsigned int Interface_Filesystem::TranslateFileReadBitsToKodi(unsigned int addo kodiFlags |= READ_AUDIO_VIDEO; if (addonFlags & ADDON_READ_AFTER_WRITE) kodiFlags |= READ_AFTER_WRITE; - if (addonFlags & READ_REOPEN) + if (addonFlags & ADDON_READ_REOPEN) kodiFlags |= READ_REOPEN; return kodiFlags; |