vaxis: fix InternalScreen.writeCell
writeCell was clearing the retaining capacity of the wrong arraylist when writing the uri_id.
This commit is contained in:
parent
852e2d1db3
commit
e43f0907ec
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ pub fn writeCell(
|
||||||
self.buf[i].uri.appendSlice(cell.link.uri) catch {
|
self.buf[i].uri.appendSlice(cell.link.uri) catch {
|
||||||
log.warn("couldn't write uri", .{});
|
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 {
|
self.buf[i].uri_id.appendSlice(cell.link.params) catch {
|
||||||
log.warn("couldn't write uri_id", .{});
|
log.warn("couldn't write uri_id", .{});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue