diff --git a/C/CUntitledOpen.cpp b/C/CUntitledOpen.cpp index 0d3d945..0706e66 100644 --- a/C/CUntitledOpen.cpp +++ b/C/CUntitledOpen.cpp @@ -71,7 +71,7 @@ size_t UOpen_getPathCount(const UOpen_Result* result) const char* UOpen_getPathMultiple(const UOpen_Result* result, const size_t i) { char* res; - if (static_cast(NFD_PathSet_GetPath(result->data, i, &res) != UOPEN_STATUS_SUCCESS)) + if (static_cast(NFD_PathSet_GetPath(result->data, i, &res)) != UOPEN_STATUS_SUCCESS) return nullptr; return res; }