~yerinalexey/hare-libui

2b862594390ffa392725269a765ed21b9a47a117 — Alexey Yerin 7 months ago 0743d70
Return an empty string if uiWindowGetTitle returns NULL

No idea why that was here in the first place
1 files changed, 1 insertions(+), 1 deletions(-)

M ui/window.ha
M ui/window.ha => ui/window.ha +1 -1
@@ 29,7 29,7 @@ export fn window_get_title(win: *window) const str = {
	case let t: *const char =>
		return strings::fromc(t);
	case null =>
		abort("uiWindowGetTitle() == NULL");
		return "";
	};
};