summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-05 22:34:04 +0000
committerrubidium <rubidium@openttd.org>2008-01-05 22:34:04 +0000
commit409f07199cd99c611af4eed46c251f4f768e7fb9 (patch)
treeabe129eedea4ac5f6d62584cc44b1ee8ccc9f44f /src
parent902b8107877b3022df26b2e9eb68525bead2c525 (diff)
downloadopenttd-409f07199cd99c611af4eed46c251f4f768e7fb9.tar.xz
(svn r11765) -Fix: compile warning (Roujin).
Diffstat (limited to 'src')
-rw-r--r--src/strings.cpp2
-rw-r--r--src/terraform_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 88cd91f5f..264947e91 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1481,7 +1481,7 @@ void CheckForMissingGlyphsInLoadedLanguagePack()
* exactly three characters, so it replaces the "XXX" with
* the color marker.
*/
- static char *err_str = strdup("XXXThe current font misses characters used in the strings for this language. Read the readme to see how to solve this.");
+ static char *err_str = strdup("XXXThe current font is missing some of the characters used in the texts for this language. Read the readme to see how to solve this.");
Utf8Encode(err_str, SCC_YELLOW);
StringID err_msg = BindCString(err_str);
ShowErrorMessage(INVALID_STRING_ID, err_msg, 0, 0);
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index b078261b4..4ca40c9fd 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -109,7 +109,7 @@ bool GUIPlaceProcDragXY(const WindowEvent *e)
DoCommandP(end_tile, start_tile, 1, CcTerraform, CMD_LEVEL_LAND| CMD_MSG(STR_0808_CAN_T_RAISE_LAND_HERE));
break;
case DDSP_LOWER_AND_LEVEL_AREA:
- DoCommandP(end_tile, start_tile, -1, CcTerraform, CMD_LEVEL_LAND | CMD_MSG(STR_0809_CAN_T_LOWER_LAND_HERE));
+ DoCommandP(end_tile, start_tile, (uint32)-1, CcTerraform, CMD_LEVEL_LAND | CMD_MSG(STR_0809_CAN_T_LOWER_LAND_HERE));
break;
case DDSP_LEVEL_AREA:
DoCommandP(end_tile, start_tile, 0, CcPlaySound10, CMD_LEVEL_LAND);