Fixed: Typos

This commit is contained in:
kervala 2016-01-02 17:04:45 +01:00
parent 8490d64622
commit 61457e575e
4 changed files with 4 additions and 5 deletions

View file

@ -953,7 +953,6 @@ namespace NLGUI
maxPos = _CursorPos;
}
nlinfo("%d, %d", minPos, maxPos);
if (replace)
{
_InputString = _InputString.substr(0, minPos) + toAdd + _InputString.substr(maxPos);

View file

@ -513,7 +513,7 @@ int main(int argc, char **argv)
std::string::size_type pos = inputFileName.rfind(".");
if (pos == std::string::npos)
{
// name whithout extension
// name without extension
userColorFileName = inputFileName + "_usercolor";
}
else

View file

@ -143,7 +143,7 @@ public:
// Fame system
// These take clans as parameters, restricted by call.
// These return the proper fame values, or NO_FAME if there's an error.
// - GgtStartFame: playerClan must be a Civilization, targetClan must be any non-neutral clan
// - getStartFame: playerClan must be a Civilization, targetClan must be any non-neutral clan
sint32 getStartFame(PVP_CLAN::TPVPClan playerClan, PVP_CLAN::TPVPClan targetClan);
// - getMaxFameByClan: playerClan must be Neutral or the same type (Cult or Clan) as targetClan,
// targetClan must be any non-neutral clan.

View file

@ -339,7 +339,7 @@ void CGuildMemberModule::_inviteCharacterInGuild(CGuildCharProxy& invitor, CGuil
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.first);
invitor.sendSystemMessage("GUILD_ICOMPATIBLE_ALLEGIANCE",params);
invitor.sendSystemMessage("GUILD_INCOMPATIBLE_ALLEGIANCE",params);
return;
}
@ -348,7 +348,7 @@ void CGuildMemberModule::_inviteCharacterInGuild(CGuildCharProxy& invitor, CGuil
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.second);
invitor.sendSystemMessage("GUILD_ICOMPATIBLE_ALLEGIANCE",params);
invitor.sendSystemMessage("GUILD_INCOMPATIBLE_ALLEGIANCE",params);
return;
}