diff options
Diffstat (limited to 'anim/scenes/gallery.zig')
| -rw-r--r-- | anim/scenes/gallery.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/anim/scenes/gallery.zig b/anim/scenes/gallery.zig index 3b66a24..2cc3d9f 100644 --- a/anim/scenes/gallery.zig +++ b/anim/scenes/gallery.zig @@ -256,11 +256,11 @@ fn rowsPage(u: ui.Ui, p: *const Pages) void { panel = u.moved(64, y); const plain = " cur->next = prev;"; const styles: [128]u8 = @splat(0); - rows.line(panel, 0, 880, 22, plain, styles[0..plain.len], .{ .current = 0 }); - rows.line(panel, row, 880, 21, " node *next = cur->next;", styles[0..31], .{ .trail = 0 }); - rows.line(panel, 2 * row, 880, 20, " while (cur) {", styles[0..17], .{ .trail = 1 }); + rows.line(panel, 0, 880, 22, 0, plain, styles[0..plain.len], .{ .current = 0 }); + rows.line(panel, row, 880, 21, 0, " node *next = cur->next;", styles[0..31], .{ .trail = 0 }); + rows.line(panel, 2 * row, 880, 20, 0, " while (cur) {", styles[0..17], .{ .trail = 1 }); const long = " a line of source longer than the panel has room for, which is cut at its end"; - rows.line(panel, 3 * row, 880, 9, long, styles[0..long.len], .plain); + rows.line(panel, 3 * row, 880, 9, 0, long, styles[0..long.len], .plain); y = 750; title(u, 64, y, "bytes"); |
