aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/vga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/vga.cpp')
-rw-r--r--engines/lab/vga.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/vga.cpp b/engines/lab/vga.cpp
index 73f80b29f8..0248bb823c 100644
--- a/engines/lab/vga.cpp
+++ b/engines/lab/vga.cpp
@@ -270,9 +270,9 @@ void LabEngine::drawHLine(uint16 x1, uint16 y, uint16 x2) {
}
/*****************************************************************************/
-/* Ghoasts a region on the screen using the desired pen color. */
+/* Overlays a region on the screen using the desired pen color. */
/*****************************************************************************/
-void LabEngine::ghoastRect(uint16 pencolor, uint16 x1, uint16 y1, uint16 x2, uint16 y2) {
+void LabEngine::overlayRect(uint16 pencolor, uint16 x1, uint16 y1, uint16 x2, uint16 y2) {
int dx = x1;
int dy = y1;
int w = x2 - x1 + 1;