diff options
author | AchimTuran <Wisler@kodi.tv> | 2015-02-10 14:04:54 +0100 |
---|---|---|
committer | AchimTuran <Wisler@kodi.tv> | 2015-02-10 14:04:54 +0100 |
commit | 49e73d46dc5ea733e2497314e35711e8ae2b5672 (patch) | |
tree | deea71b61f218d3fe6f881a8e5cb7579c8af4580 /lib | |
parent | 3ffa57aa5e7fb75264a10533263ea6b9f27cf91b (diff) |
Fixed wrong return type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/addons/library.xbmc.addon/libXBMC_addon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp index 4dd4d5be9d..e00bc77584 100644 --- a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp +++ b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp @@ -247,7 +247,7 @@ DLLEXPORT bool XBMC_delete_file(void *hdl, void* cb, const char *strFileName) DLLEXPORT bool XBMC_can_open_directory(void *hdl, void* cb, const char* strURL) { if (cb == NULL) - return 0; + return false; return ((CB_AddOnLib*)cb)->CanOpenDirectory(((AddonCB*)hdl)->addonData, strURL); } |