mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
fmt
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user