summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index ccd82db5..d4c33d30 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -31,12 +31,12 @@ BuySellDialog::BuySellDialog():
Window("Shop")
{
Button *buyButton = 0;
- char *buttonNames[] = {
+ const char *buttonNames[] = {
"Buy", "Sell", "Cancel", 0
};
int x = 10, y = 10;
- for (char **curBtn = buttonNames; *curBtn; curBtn++)
+ for (const char **curBtn = buttonNames; *curBtn; curBtn++)
{
Button *btn = new Button(*curBtn);
if (!buyButton) buyButton = btn; // For focus request