From 52951c96d5bea1f1a6584699019e130a8294cded Mon Sep 17 00:00:00 2001 From: 0x35c Date: Wed, 11 Sep 2024 16:25:23 +0200 Subject: [PATCH] fix: merdella --credits is better now --- src/kernel.c | 2 +- src/shell/exec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel.c b/src/kernel.c index 827682c..04cb88f 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -1,7 +1,7 @@ #include "gdt.h" #include "shell.h" #include "terminal.h" -#include "power.h" +/* #include "power.h" */ #include "gdt.h" #include diff --git a/src/shell/exec.c b/src/shell/exec.c index b46ffd8..e969761 100644 --- a/src/shell/exec.c +++ b/src/shell/exec.c @@ -98,7 +98,7 @@ void shell_init(void) break; case MERDELLA: { kprintf(0, POOP); - if (!strcmp("--credits", strchr(screen->line, ' ') + 1)) + if (!strcmp("merdella --credits", screen->line)) kprintf( 0, "\nThis ascii masterpiece has been created "