diff options
Diffstat (limited to 'c_src/sdl_filesystem.c')
-rw-r--r-- | c_src/sdl_filesystem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c_src/sdl_filesystem.c b/c_src/sdl_filesystem.c index cf6c601..4187bbe 100644 --- a/c_src/sdl_filesystem.c +++ b/c_src/sdl_filesystem.c @@ -30,7 +30,7 @@ NIF_FUNCTION(get_base_path) SDL_free(path); - return term; + return enif_make_tuple2(env, atom_ok, term); } // get_pref_path @@ -53,5 +53,5 @@ NIF_FUNCTION(get_pref_path) SDL_free(path); - return term; + return enif_make_tuple2(env, atom_ok, term); } |