From 88b5be35623fb573cfa0d53cfc407ae1005ccad9 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 26 Oct 2024 14:21:53 +0200 Subject: IMP: Refactor for better code. Signed-off-by: Amlal --- dev/zka/src/Stop.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dev') diff --git a/dev/zka/src/Stop.cc b/dev/zka/src/Stop.cc index 3ec67249..b194412c 100644 --- a/dev/zka/src/Stop.cc +++ b/dev/zka/src/Stop.cc @@ -5,7 +5,6 @@ ------------------------------------------- */ #include - #include #include #include @@ -15,7 +14,7 @@ #include #include -#define cWebsiteMacro "https://help.zws.com/" +#define kWebsiteURL "https://www.zws.zka.com/zka-os/help/" /* Each error code is attributed with an ID, which will prompt a string onto the * screen. Wait for debugger... */ @@ -36,7 +35,7 @@ namespace Kernel // simply offset from previous string and then write the website. CGDrawString("Please visit: ", start_y, x, panic_text); - CGDrawString(cWebsiteMacro, start_y, x + (FONT_SIZE_X * rt_string_len("Please visit: ")), panic_text); + CGDrawString(kWebsiteURL, start_y, x + (FONT_SIZE_X * rt_string_len("Please visit: ")), panic_text); CGFini(); @@ -47,7 +46,7 @@ namespace Kernel switch (id) { case RUNTIME_CHECK_PROCESS: { - CGDrawString("0x00000008 Multi-Task error.", start_y, x, panic_text); + CGDrawString("0x00000008 Process check error.", start_y, x, panic_text); break; } case RUNTIME_CHECK_ACPI: { -- cgit v1.2.3