diff options
Diffstat (limited to 'src/web.zig')
| -rw-r--r-- | src/web.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web.zig b/src/web.zig index d642e108..bfef38a7 100644 --- a/src/web.zig +++ b/src/web.zig @@ -391,6 +391,8 @@ fn present(ctx: ?*anyopaque, surface: *const pardes.Surface) void { } fn writeFile(_: ?*anyopaque, _: u8, path: []const u8, bytes: []const u8) void { + // A download the browser has been handed IS the save here: there is no + // filesystem to fail against, so there is no `saveFailed` to report. host_download(path.ptr, path.len, bytes.ptr, bytes.len); } |
