History

Improve game info text location in non-19 goban.

otter9space committed 7 years ago

Commit 7a7cc701 parent e61cc881 file · +1 −1Browse files

Unified · Split

draw.c+1−1
@@ -122,7 +122,7 @@ drawgoban(void) · 121 unmodified lines
122 werrstr("Could not open font.");122 werrstr("Could not open font.");
123 return -1;123 return -1;
124 }124 }
125 p = addpt(ogoban, Pt(0, scale * Lineh * sgoban));125 p = addpt(o, Pt(ogoban.x - o.x, scale * (Gobanh + Lineh)));
126 sprint(s, "To play: %s", turn == Black ? "Black " : "White ");126 sprint(s, "To play: %s", turn == Black ? "Black " : "White ");
127 stringbg(screen, p, display->black, ZP, font, s, display->white, ZP);127 stringbg(screen, p, display->black, ZP, font, s, display->white, ZP);
128 p = addpt(p, Pt(0, font->height));128 p = addpt(p, Pt(0, font->height));