From db336539e0a2cba107663991cb53b965a0a903ca Mon Sep 17 00:00:00 2001 From: maron2000 <68574602+maron2000@users.noreply.github.com> Date: Sat, 13 Jan 2024 22:06:57 +0900 Subject: [PATCH] Fix PC-98 welcome screen alignment --- src/shell/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell.cpp b/src/shell/shell.cpp index 31cf5fdde78..ea69c95fa2b 100644 --- a/src/shell/shell.cpp +++ b/src/shell/shell.cpp @@ -763,7 +763,7 @@ void showWelcome(Program *shell) { "\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44" "\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44" "\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x44\x86\x56\n")); - shell->WriteOut(ParseMsg((std::string("\x86\x46 \033[32m")+(MSG_Get("SHELL_STARTUP_TITLE")+std::string(" ")).substr(0,30)+std::string(" \033[33m%*s\033[37m \x86\x46\n")).c_str()),34,verstr.c_str()); + shell->WriteOut(ParseMsg((std::string("\x86\x46 \033[32m")+(MSG_Get("SHELL_STARTUP_TITLE")+std::string(" ")).substr(0,22)+std::string(" \033[33m%*s\033[37m \x86\x46\n")).c_str()),42,verstr.c_str()); shell->WriteOut(ParseMsg("\x86\x46 \x86\x46\n")); shell->WriteOut(ParseMsg((std::string("\x86\x46 ")+MSG_Get("SHELL_STARTUP_HEAD1_PC98")+std::string(" \x86\x46\n")).c_str())); shell->WriteOut(ParseMsg("\x86\x46 \x86\x46\n"));