kitty: ENOENT when image ID not found for placement

This commit is contained in:
Mitchell Hashimoto
2024-09-03 10:38:00 -07:00
parent 492b113de6
commit e9c83a5f64

View File

@ -177,7 +177,7 @@ fn display(
else else
storage.imageByNumber(d.image_number); storage.imageByNumber(d.image_number);
const img = img_ orelse { const img = img_ orelse {
result.message = "EINVAL: image not found"; result.message = "ENOENT: image not found";
return result; return result;
}; };