aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/frotz/glk_interface.cpp4
-rw-r--r--engines/glk/frotz/glk_interface.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/frotz/glk_interface.cpp b/engines/glk/frotz/glk_interface.cpp
index 48203bf7e5..dda932dc3d 100644
--- a/engines/glk/frotz/glk_interface.cpp
+++ b/engines/glk/frotz/glk_interface.cpp
@@ -68,8 +68,8 @@ void GlkInterface::initialize() {
0x2D6B, ///< 12 = dark grey
};
- zcolors[0] = -2; // Current
- zcolors[1] = -1; // Default
+ zcolors[0] = zcolor_Current; // Current
+ zcolors[1] = zcolor_Default; // Default
for (int i = 2; i < zcolor_NUMCOLORS; ++i)
zcolors[i] = zRGB(COLOR_MAP[i - 2]);
diff --git a/engines/glk/frotz/glk_interface.h b/engines/glk/frotz/glk_interface.h
index ea7a104b8a..b52fdc4e6d 100644
--- a/engines/glk/frotz/glk_interface.h
+++ b/engines/glk/frotz/glk_interface.h
@@ -61,7 +61,7 @@ private:
public:
Pics *_pics;
zchar statusline[256];
- int zcolors[zcolor_NUMCOLORS];
+ uint zcolors[zcolor_NUMCOLORS];
int oldstyle;
int curstyle;
int cury;