aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/addons/library.xbmc.addon/libXBMC_addon.cpp2
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);
}