diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 22:10:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 22:10:27 +0200 |
commit | 280b4c235fe11dd629f882f0fb5054384fcee1d7 (patch) | |
tree | e89735003b52b04e3c17a3ad5532b36e055cdda7 /loader | |
parent | 1b84fc144f77c4ebef6fdc0a476410420e0a95b3 (diff) |
more work
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader-impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp index a6d05e32..8c478161 100644 --- a/loader/loader-impl.cpp +++ b/loader/loader-impl.cpp @@ -100,6 +100,7 @@ Trade::ImageData2D loader_impl::tile_texture(StringView filename_) } } const auto path = Utility::Path::currentDirectory(); + filename[len] = '\0'; fm_abort("can't open tile image '%s' (cwd '%s')", filename, path ? path->data() : "(null)"); } |