[nostalgia,olympic] Fixes for Ox update
All checks were successful
Build / build (push) Successful in 2m25s

This commit is contained in:
2024-04-18 19:25:07 -05:00
parent a20d7fd923
commit 3b8d13dce3
7 changed files with 13 additions and 13 deletions

View File

@@ -221,7 +221,7 @@ ox::Error initGfx(Context &ctx) noexcept {
void setWindowTitle(Context &ctx, ox::CRStringView title) noexcept {
auto cstr = ox_malloca(title.bytes() + 1, char);
ox_strncpy(cstr.get(), title.data(), title.bytes());
ox::strncpy(cstr.get(), title.data(), title.bytes());
glfwSetWindowTitle(ctx.window, cstr.get());
}