(svn r27560) -Fix: typos in comments and string

pull/8/head
matthijs 8 years ago
parent baa11c8b0f
commit 91ddd32c20

@ -603,7 +603,7 @@ TextEffectID ShowFillingPercent(int x, int y, int z, uint8 percent, StringID str
/** /**
* Update vehicle loading indicators. * Update vehicle loading indicators.
* @param te_id TextEffectID to be updated. * @param te_id TextEffectID to be updated.
* @param string String wich is printed. * @param string String which is printed.
*/ */
void UpdateFillingPercent(TextEffectID te_id, uint8 percent, StringID string) void UpdateFillingPercent(TextEffectID te_id, uint8 percent, StringID string)
{ {

@ -3010,7 +3010,7 @@ static ChangeInfoResult SoundEffectChangeInfo(uint sid, int numinfo, int prop, B
} }
if (sid + numinfo - ORIGINAL_SAMPLE_COUNT > _cur.grffile->num_sounds) { if (sid + numinfo - ORIGINAL_SAMPLE_COUNT > _cur.grffile->num_sounds) {
grfmsg(1, "SoundEffectChangeInfo: Attemting to change undefined sound effect (%u), max (%u). Ignoring.", sid + numinfo, ORIGINAL_SAMPLE_COUNT + _cur.grffile->num_sounds); grfmsg(1, "SoundEffectChangeInfo: Attempting to change undefined sound effect (%u), max (%u). Ignoring.", sid + numinfo, ORIGINAL_SAMPLE_COUNT + _cur.grffile->num_sounds);
return CIR_INVALID_ID; return CIR_INVALID_ID;
} }

@ -101,7 +101,7 @@ static void UpdateElement(StoryPageElement &pe, TileIndex tile, uint32 reference
* @param p1 various bitstuffed elements * @param p1 various bitstuffed elements
* - p1 = (bit 0 - 7) - Company for which this story page belongs to. * - p1 = (bit 0 - 7) - Company for which this story page belongs to.
* @param p2 unused. * @param p2 unused.
* @param text Title of the story page. Null is allowed in wich case a generic page title is provided by OpenTTD. * @param text Title of the story page. Null is allowed in which case a generic page title is provided by OpenTTD.
* @return the cost of this operation or an error * @return the cost of this operation or an error
*/ */
CommandCost CmdCreateStoryPage(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) CommandCost CmdCreateStoryPage(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)

Loading…
Cancel
Save