fix: merdella --credits is better now

This commit is contained in:
0x35c 2024-09-11 16:25:23 +02:00
parent bdfac39bc9
commit 52951c96d5
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include "gdt.h" #include "gdt.h"
#include "shell.h" #include "shell.h"
#include "terminal.h" #include "terminal.h"
#include "power.h" /* #include "power.h" */
#include "gdt.h" #include "gdt.h"
#include <stdbool.h> #include <stdbool.h>

View File

@ -98,7 +98,7 @@ void shell_init(void)
break; break;
case MERDELLA: { case MERDELLA: {
kprintf(0, POOP); kprintf(0, POOP);
if (!strcmp("--credits", strchr(screen->line, ' ') + 1)) if (!strcmp("merdella --credits", screen->line))
kprintf( kprintf(
0, 0,
"\nThis ascii masterpiece has been created " "\nThis ascii masterpiece has been created "