diff options
author | Max Horn | 2006-05-31 10:53:04 +0000 |
---|---|---|
committer | Max Horn | 2006-05-31 10:53:04 +0000 |
commit | 51f45f0840461901eea5ff0d0b193ed9a47ef1e4 (patch) | |
tree | d4cd5a29670c35f8f77c9be74b3d0c246a191a3d /engines/agi/menu.cpp | |
parent | 3b1062d2d49c7017204efbe9395cca369e071aa0 (diff) | |
download | scummvm-rg350-51f45f0840461901eea5ff0d0b193ed9a47ef1e4.tar.gz scummvm-rg350-51f45f0840461901eea5ff0d0b193ed9a47ef1e4.tar.bz2 scummvm-rg350-51f45f0840461901eea5ff0d0b193ed9a47ef1e4.zip |
Fixed many const related warnings
svn-id: r22794
Diffstat (limited to 'engines/agi/menu.cpp')
-rw-r--r-- | engines/agi/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/menu.cpp b/engines/agi/menu.cpp index a182bbdc18..71f1928f94 100644 --- a/engines/agi/menu.cpp +++ b/engines/agi/menu.cpp @@ -191,7 +191,7 @@ Menu::~Menu() { } } -void Menu::add(char *s) { +void Menu::add(const char *s) { agi_menu *m = new agi_menu; m->text = strdup(s); while (m->text[strlen(m->text) - 1] == ' ') @@ -210,7 +210,7 @@ void Menu::add(char *s) { menubar.push_back(m); } -void Menu::add_item(char *s, int code) { +void Menu::add_item(const char *s, int code) { int l; agi_menu_option* d = new agi_menu_option; |