aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/menu.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-02-19 09:57:39 +0000
committerPaul Gilbert2009-02-19 09:57:39 +0000
commit935e748e624b307647208c7072bd6a8c8424cf08 (patch)
treef41a5c76c49a3ea45e6ddb3f9bb51a1d0f9da62b /engines/cruise/menu.cpp
parentfc6221e781001f3f59e5b6822d94c00c24bae51c (diff)
downloadscummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.tar.gz
scummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.tar.bz2
scummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.zip
In progress work on cleaning up the font system - giving proper variable names, types, and converted memory accesses to endian safe structures
svn-id: r38540
Diffstat (limited to 'engines/cruise/menu.cpp')
-rw-r--r--engines/cruise/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp
index 42a69b71da..8125b06ca2 100644
--- a/engines/cruise/menu.cpp
+++ b/engines/cruise/menu.cpp
@@ -42,7 +42,7 @@ menuStruct *createMenu(int X, int Y, const char *menuName) {
entry->stringPtr = menuName;
entry->numElements = 0;
entry->ptrNextElement = NULL;
- entry->gfx = renderText(160, (const uint8 *)menuName);
+ entry->gfx = renderText(160, menuName);
return entry;
}
@@ -103,7 +103,7 @@ void addSelectableMenuEntry(int ovlIdx, int headerIdx, menuStruct *pMenu, int pa
pNewElement->next = NULL;
pNewElement->varC = 0;
pNewElement->color = color;
- pNewElement->gfx = renderText(160, (const uint8 *)menuText);
+ pNewElement->gfx = renderText(160, menuText);
if (var_6 == NULL) {
pMenu->ptrNextElement = pNewElement;