[nostalgia,olympic] Fixes for Ox update
All checks were successful
Build / build (push) Successful in 2m25s
All checks were successful
Build / build (push) Successful in 2m25s
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user