diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-12 22:02:42 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-12 22:02:42 +0000 |
commit | 400529eea04350907b5e240d991f4d39108177c5 (patch) | |
tree | ea9a5328e78464aaf14c78cde1cad4f689a7abe1 /window-clock.c | |
parent | ba4a884d753ade5fd285ecedd7bca25c70023058 (diff) | |
parent | 938156d73b0cc0692c727ac9a94bf65b235cfe40 (diff) | |
download | rtmux-400529eea04350907b5e240d991f4d39108177c5.tar.gz rtmux-400529eea04350907b5e240d991f4d39108177c5.tar.bz2 rtmux-400529eea04350907b5e240d991f4d39108177c5.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'window-clock.c')
-rw-r--r-- | window-clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-clock.c b/window-clock.c index f98d7923..45d4d47b 100644 --- a/window-clock.c +++ b/window-clock.c @@ -238,7 +238,7 @@ window_clock_draw_screen(struct window_mode_entry *wme) if (screen_size_x(s) >= strlen(tim) && screen_size_y(s) != 0) { x = (screen_size_x(s) / 2) - (strlen(tim) / 2); y = screen_size_y(s) / 2; - screen_write_cursormove(&ctx, x, y); + screen_write_cursormove(&ctx, x, y, 0); memcpy(&gc, &grid_default_cell, sizeof gc); gc.flags |= GRID_FLAG_NOPALETTE; @@ -274,7 +274,7 @@ window_clock_draw_screen(struct window_mode_entry *wme) for (j = 0; j < 5; j++) { for (i = 0; i < 5; i++) { - screen_write_cursormove(&ctx, x + i, y + j); + screen_write_cursormove(&ctx, x + i, y + j, 0); if (window_clock_table[idx][j][i]) screen_write_putc(&ctx, &gc, ' '); } |