aboutsummaryrefslogtreecommitdiff
path: root/src/guiVolumeChange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiVolumeChange.cpp')
-rw-r--r--src/guiVolumeChange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiVolumeChange.cpp b/src/guiVolumeChange.cpp
index f31c650f3..b31b99a98 100644
--- a/src/guiVolumeChange.cpp
+++ b/src/guiVolumeChange.cpp
@@ -103,7 +103,7 @@ void GUIVolumeChange::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, 120, 20);
rect = rect + v2s32(size.X/2-60, size.Y/2-35);
- wchar_t* text = wgettext("Sound Volume: ");
+ const wchar_t *text = wgettext("Sound Volume: ");
Environment->addStaticText(text, rect, false,
true, this, ID_soundText1);
delete[] text;
@@ -117,7 +117,7 @@ void GUIVolumeChange::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, 80, 30);
rect = rect + v2s32(size.X/2-80/2, size.Y/2+55);
- wchar_t* text = wgettext("Exit");
+ const wchar_t *text = wgettext("Exit");
Environment->addButton(rect, this, ID_soundExitButton,
text);
delete[] text;