Skip to content

Commit 28da960

Browse files
committed
added character b in the straight font
1 parent 7c9b5d0 commit 28da960

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Fonts/Straight/straight.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,16 +325,18 @@ class Straight : public Fonts
325325
}
326326
*/
327327

328-
/*
328+
329329
char **b()
330330
{
331331
char **character = getCharGrid();
332332

333-
//Enter the character grid in ROWS X COLS
333+
character[1][0]=character[2][0]='|';
334+
character[1][1]=character[2][1]='_';
335+
character[2][2]=')';
334336

335337
return character;
336338
}
337-
*/
339+
338340

339341

340342
char **c()

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("H");
9+
a.print("b");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)