mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r11765) -Fix: compile warning (Roujin).
This commit is contained in:
parent
902b810787
commit
409f07199c
@ -1481,7 +1481,7 @@ void CheckForMissingGlyphsInLoadedLanguagePack()
|
|||||||
* exactly three characters, so it replaces the "XXX" with
|
* exactly three characters, so it replaces the "XXX" with
|
||||||
* the color marker.
|
* 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);
|
Utf8Encode(err_str, SCC_YELLOW);
|
||||||
StringID err_msg = BindCString(err_str);
|
StringID err_msg = BindCString(err_str);
|
||||||
ShowErrorMessage(INVALID_STRING_ID, err_msg, 0, 0);
|
ShowErrorMessage(INVALID_STRING_ID, err_msg, 0, 0);
|
||||||
|
@ -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));
|
DoCommandP(end_tile, start_tile, 1, CcTerraform, CMD_LEVEL_LAND| CMD_MSG(STR_0808_CAN_T_RAISE_LAND_HERE));
|
||||||
break;
|
break;
|
||||||
case DDSP_LOWER_AND_LEVEL_AREA:
|
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;
|
break;
|
||||||
case DDSP_LEVEL_AREA:
|
case DDSP_LEVEL_AREA:
|
||||||
DoCommandP(end_tile, start_tile, 0, CcPlaySound10, CMD_LEVEL_LAND);
|
DoCommandP(end_tile, start_tile, 0, CcPlaySound10, CMD_LEVEL_LAND);
|
||||||
|
Loading…
Reference in New Issue
Block a user