From 790e06c4cc2ee60124370dc7ce03252b28d1264e Mon Sep 17 00:00:00 2001 From: phyto Date: Sat, 26 Jan 2019 16:32:10 +0100 Subject: [PATCH] fix the 7 segments demo --- viz/curses/t.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/viz/curses/t.c b/viz/curses/t.c index 1b11ea7..f370538 100644 --- a/viz/curses/t.c +++ b/viz/curses/t.c @@ -19,20 +19,20 @@ char ligne[100]; for (idx=0; idx<10; idx++) { c = '0'+idx; - p = 1+(idx*8); + p = 1+(idx*9); aff7segs_digit(stdscr, 17, p, c); mvaddch(16, p, c); } for (loop=0; loop