vaxis: fix InternalScreen.writeCell

writeCell was clearing the retaining capacity of the wrong arraylist
when writing the uri_id.
This commit is contained in:
Tim Culverhouse 2024-05-02 10:38:39 -05:00
parent 852e2d1db3
commit e43f0907ec

View file

@ -96,7 +96,7 @@ pub fn writeCell(
self.buf[i].uri.appendSlice(cell.link.uri) catch {
log.warn("couldn't write uri", .{});
};
self.buf[i].uri.clearRetainingCapacity();
self.buf[i].uri_id.clearRetainingCapacity();
self.buf[i].uri_id.appendSlice(cell.link.params) catch {
log.warn("couldn't write uri_id", .{});
};