From 49e73d46dc5ea733e2497314e35711e8ae2b5672 Mon Sep 17 00:00:00 2001 From: AchimTuran Date: Tue, 10 Feb 2015 14:04:54 +0100 Subject: Fixed wrong return type --- lib/addons/library.xbmc.addon/libXBMC_addon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3