From f81c5f944ccafd9a5004c676f96badbd767fd0ee Mon Sep 17 00:00:00 2001 From: Moss Gallagher Date: Sun, 11 Jun 2023 02:31:38 -0700 Subject: [PATCH] isle: Matched WNDCLASS_NAME to Original MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 1.0 WINDOW_TITLE seems to be a define like WNDCLASS_NAME. However, in 1.1 it is a const char* like in the already existing code. It also has a value of "Lego Island" in 1.0 but a value of "Lego®" in 1.1. --- ISLE/define.cpp | 3 +-- ISLE/define.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ISLE/define.cpp b/ISLE/define.cpp index f5751c6e..7f574a8c 100644 --- a/ISLE/define.cpp +++ b/ISLE/define.cpp @@ -3,8 +3,7 @@ Isle *g_isle = 0; int g_closed = 0; -const char *WNDCLASS_NAME = "Lego Island MainNoM App"; -const char *WINDOW_TITLE = "LEGO®"; +const char *WINDOW_TITLE = "LEGO®"; unsigned char g_mousedown = 0; unsigned char g_mousemoved = 0; diff --git a/ISLE/define.h b/ISLE/define.h index ffa97a68..b104f239 100644 --- a/ISLE/define.h +++ b/ISLE/define.h @@ -5,7 +5,7 @@ class Isle; extern Isle *g_isle; extern int g_closed; -extern const char *WNDCLASS_NAME; +#define WNDCLASS_NAME "Lego Island MainNoM App" extern const char *WINDOW_TITLE; extern unsigned char g_mousedown; extern unsigned char g_mousemoved;