summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2024-10-26 14:21:53 +0200
committerAmlal <amlal.elmahrouss@icloud.com>2024-10-26 14:21:53 +0200
commit88b5be35623fb573cfa0d53cfc407ae1005ccad9 (patch)
tree133143d63dfed631ec160e14415ce745177a7113
parent5648d1024d7b12d5427a39c945b60b63a61dc52f (diff)
IMP: Refactor for better code.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
-rw-r--r--dev/zka/src/Stop.cc7
1 files changed, 3 insertions, 4 deletions
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 <NewKit/Stop.h>
-
#include <ArchKit/ArchKit.h>
#include <KernelKit/Timer.h>
#include <KernelKit/DebugOutput.h>
@@ -15,7 +14,7 @@
#include <modules/FB/FB.h>
#include <modules/FB/Text.h>
-#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: {