style: fix formatting

This commit is contained in:
-k
2025-06-17 08:16:17 -04:00
committed by Mitchell Hashimoto
parent 16348549c4
commit 43b8472ad2
2 changed files with 3 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ pub fn init(core_app: *CoreApp, opts: Options) !App {
const result: bool = switch (config.@"async-backend") {
.auto => unreachable,
.epoll => if (comptime xev.dynamic) xev.prefer(.epoll) else false,
.io_uring => if (comptime xev.dynamic) xev.prefer(.io_uring) else false,
.io_uring => if (comptime xev.dynamic) xev.prefer(.io_uring) else false,
};
if (result) {

View File

@@ -86,7 +86,8 @@ pub fn init(resources_dir: []const u8) InitError!void {
log.debug("binding domain={s} path={s}", .{ build_config.bundle_id, path });
_ = bindtextdomain(build_config.bundle_id, path.ptr) orelse
return error.OutOfMemory;
}}
},
}
}
/// Set the global gettext domain to our bundle ID, allowing unqualified