fmt
parent
076bcccde4
commit
c4c2d06571
|
|
@ -1075,9 +1075,7 @@ fn loadCustomCss(self: *App) !void {
|
||||||
defer file.close();
|
defer file.close();
|
||||||
|
|
||||||
log.info("loading gtk-custom-css path={s}", .{path});
|
log.info("loading gtk-custom-css path={s}", .{path});
|
||||||
const contents = try file.reader().readAllAlloc(
|
const contents = try file.reader().readAllAlloc(self.core_app.alloc, 5 * 1024 * 1024 // 5MB
|
||||||
self.core_app.alloc,
|
|
||||||
5 * 1024 * 1024 // 5MB
|
|
||||||
);
|
);
|
||||||
defer self.core_app.alloc.free(contents);
|
defer self.core_app.alloc.free(contents);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue