Skip to content

Commit 17d9458

Browse files
committed
Resolved issues
1 parent 5d18388 commit 17d9458

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

Fonts/Straight/straight.h

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -416,26 +416,11 @@ class Straight : public Fonts
416416

417417
char **j()
418418
{
419-
char **character = getCharGrid();
419+
char **character = getCharGrid(4, 3);
420420

421-
for(int i = 0; i < 3; i++)
422-
{
423-
for(int j = 0; j < 3; j++)
424-
{
425-
if(i == 0 && j == 1)
426-
{
427-
character[i][j] = '.';
428-
}
429-
if (i == 1 && j == 1)
430-
{
431-
character[i][j] = '|';
432-
}
433-
if (i == 2 && j == 1)
434-
{
435-
character[i][j] = '/';
436-
}
437-
}
438-
}
421+
character[1][1] = '.';
422+
character[2][1] = '|';
423+
character[3][1] = '/';
439424

440425
return character;
441426
}

0 commit comments

Comments
 (0)