aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-06-26 15:48:03 +0000
committerJordi Vilalta Prat2010-06-26 15:48:03 +0000
commit063cef0c284cda74f6ad366182818ac4d3dfca83 (patch)
tree9b0358b7bede862c83ea3d2586fa0b44b59aa22d /backends/platform/sdl
parent21831b61832060855017d5b30dc277eaa333aef8 (diff)
downloadscummvm-rg350-063cef0c284cda74f6ad366182818ac4d3dfca83.tar.gz
scummvm-rg350-063cef0c284cda74f6ad366182818ac4d3dfca83.tar.bz2
scummvm-rg350-063cef0c284cda74f6ad366182818ac4d3dfca83.zip
GUI: Add and improve some messages to translate
svn-id: r50324
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/graphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 721cc54c90..05870015cb 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -25,6 +25,7 @@
#include "backends/platform/sdl/sdl.h"
#include "common/mutex.h"
+#include "common/translation.h"
#include "common/util.h"
#ifdef USE_RGB_COLOR
#include "common/list.h"
@@ -36,7 +37,7 @@
#include "graphics/surface.h"
static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
- {"1x", "Normal (no scaling)", GFX_NORMAL},
+ {"1x", _s("Normal (no scaling)"), GFX_NORMAL},
#ifdef USE_SCALERS
{"2x", "2x", GFX_DOUBLESIZE},
{"3x", "3x", GFX_TRIPLESIZE},
@@ -1378,7 +1379,7 @@ void OSystem_SDL::warpMouse(int x, int y) {
int y1 = y;
// Don't change mouse position, when mouse is outside of our window (in case of windowed mode)
- if (!(SDL_GetAppState( ) & SDL_APPMOUSEFOCUS))
+ if (!(SDL_GetAppState( ) & SDL_APPMOUSEFOCUS))
return;
if (_videoMode.aspectRatioCorrection && !_overlayVisible)