Strip trailing whitespace.

This commit is contained in:
Mark de Wever 2012-07-28 16:34:37 +00:00
parent 8a833ddbd0
commit cb42f5bf06

View File

@ -3198,9 +3198,9 @@ static int intf_get_villages(lua_State *L)
std::vector<map_location> locs = resources::game_map->villages();
lua_newtable(L);
int i = 1;
vconfig filter = luaW_checkvconfig(L, 1);
for(std::vector<map_location>::const_iterator it = locs.begin(); it != locs.end(); ++it) {
bool matches = terrain_filter(filter, *resources::units).match(*it);
if (matches) {