Skip to content

Commit 849f9d4

Browse files
committed
added K in straight
1 parent 6464c71 commit 849f9d4

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Fonts/Straight/straight.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,20 @@ class Straight : public Fonts
128128
}
129129

130130

131-
/*
131+
132132
char **K()
133133
{
134134
char **character = getCharGrid(ROWS,COLS);
135-
136-
//Enter the character grid in ROWS X COLS
135+
136+
character[0][0] = character[1][0] = '|';
137+
character[0][1] = '_';
138+
character[0][2] = '/';
139+
character[1][2] ='\\';
140+
character[1][1] = ' ';
137141

138142
return character;
139143
}
140-
*/
144+
141145

142146
char **L()
143147
{

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

0 commit comments

Comments
 (0)