Skip to content

Commit 0ccbd48

Browse files
Merge pull request #279 from hellomohit722/main
Added l in straight
2 parents 315b5a6 + 0ca5780 commit 0ccbd48

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Fonts/Straight/straight.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,18 +434,17 @@ class Straight : public Fonts
434434
435435
*/
436436

437-
/*
438-
char **l()
437+
char **l()
439438
{
440439
char **character = getCharGrid();
441440

442441
//Enter the character grid in ROWS X COLS
442+
character[1][0]='|';
443+
character[2][0]='|';
443444

444445
return character;
445446
}
446447

447-
*/
448-
449448
/*
450449
char **m()
451450
{

example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ using namespace ascii;
66
int main()
77
{
88
Ascii a = Ascii(straight);
9-
a.print("L");
9+
a.print("l");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)