summaryrefslogtreecommitdiff
path: root/src/file_watch.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 12:31:47 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commita5be027a0c05c8950bada14fa2f2e713ce7d6986 (patch)
tree8eecd0fd54ef077baf1239f5f00277329974ee95 /src/file_watch.zig
parent549cfa40e99c3d1937b742a0dba043281c687c83 (diff)
downloadpardes-a5be027a0c05c8950bada14fa2f2e713ce7d6986.tar.gz
pardes-a5be027a0c05c8950bada14fa2f2e713ce7d6986.zip
A look at a corrupt image fails with an err rather than open a blank pane
An image stb_image could not read opened as an empty image pane, the look succeeding. The bytes' header is now checked at the look (stbi_info_from_memory), and one that is no image it reads fails the look, look: <path>: not an image pardes can read, making no pane. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/file_watch.zig')
0 files changed, 0 insertions, 0 deletions