summaryrefslogtreecommitdiff
path: root/kern/toad.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/toad.c')
-rw-r--r--kern/toad.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/kern/toad.c b/kern/toad.c
index 96cf60f..7288375 100644
--- a/kern/toad.c
+++ b/kern/toad.c
@@ -57,14 +57,7 @@ const char toad[] =
"........:^!J5PBBBBBB";
void print_toad() {
- pts_t* pts = smalloc(sizeof(pts_t));
- pts_init(pts);
- get_current()->pts = pts;
- pts->refcount++;
-
- active_pts = pts;
- pts->refcount++;
-
+ pts_t* pts = get_current()->pts;
pts_set_cursor(pts, 0, 0);
pts_set_term_color(pts, FGND_WHITE | BGND_BLACK);
pts_putbytes(pts, toad, sizeof(toad) - 1);