typo fix
This commit is contained in:
2
nclock.c
2
nclock.c
@@ -90,7 +90,7 @@ void drawColon(int starty, int startx) {
|
|||||||
void drawTime(state *s, int hour, int min, int sec) {
|
void drawTime(state *s, int hour, int min, int sec) {
|
||||||
int newcenty = s->centery - 3; //start above the center
|
int newcenty = s->centery - 3; //start above the center
|
||||||
/* center X: */
|
/* center X: */
|
||||||
/* (3 Nuberpairs + 2 colons) / 2 */
|
/* (3 Numberpairs + 2 colons) / 2 */
|
||||||
int newcentx = s->centerx - ((3 * NUMBERPAIR + 2 * COLONSPACE) / 2);
|
int newcentx = s->centerx - ((3 * NUMBERPAIR + 2 * COLONSPACE) / 2);
|
||||||
/* hour */
|
/* hour */
|
||||||
drawNumber(newcenty, newcentx, hour);
|
drawNumber(newcenty, newcentx, hour);
|
||||||
|
Reference in New Issue
Block a user