This commit is contained in:
Erlend Lind Madsen
2025-01-24 14:59:46 +07:00
parent 076bcccde4
commit c4c2d06571

View File

@ -1075,9 +1075,7 @@ fn loadCustomCss(self: *App) !void {
defer file.close();
log.info("loading gtk-custom-css path={s}", .{path});
const contents = try file.reader().readAllAlloc(
self.core_app.alloc,
5 * 1024 * 1024 // 5MB
const contents = try file.reader().readAllAlloc(self.core_app.alloc, 5 * 1024 * 1024 // 5MB
);
defer self.core_app.alloc.free(contents);