This commit is contained in:
2019-01-24 20:15:37 +01:00
parent cf4bdbd3c9
commit ffe7cc2bc0

View File

@@ -90,7 +90,7 @@ void drawColon(int starty, int startx) {
void drawTime(state *s, int hour, int min, int sec) {
int newcenty = s->centery - 3; //start above the center
/* center X: */
/* (3 Nuberpairs + 2 colons) / 2 */
/* (3 Numberpairs + 2 colons) / 2 */
int newcentx = s->centerx - ((3 * NUMBERPAIR + 2 * COLONSPACE) / 2);
/* hour */
drawNumber(newcenty, newcentx, hour);