orca-app / orca

A Wasm environment for cross-platform, sandboxed graphical applications.
https://orca-app.dev
Other
156 stars 13 forks source link

fix oc_path_append #54

Closed bitwitch closed 5 months ago

bitwitch commented 5 months ago

To ensure that there is a slash between the parent and relpath being appended, oc_path_append was checking the last character of parent and erroneously the LAST character of relpath for a slash. This fixes the error by checking the FIRST character of relpath instead.

martinfouilleul commented 5 months ago

Thanks for the catch!