summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r--src/gui/menuwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index cb5fc654..811a10ab 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -53,12 +53,12 @@ MenuWindow::MenuWindow():
// Buttons
// ------------
- char *buttonNames[] = {
+ const char *buttonNames[] = {
"Status", "Equipment", "Inventory", "Skills", "Setup", 0
};
int x = 0, y = 3, h = 0;
- for (char **curBtn = buttonNames; *curBtn; curBtn++) {
+ for (const char **curBtn = buttonNames; *curBtn; curBtn++) {
gcn::Button *btn = new Button(*curBtn);
btn->setEventId(*curBtn);
btn->addActionListener(&menuWindowListener);