Strip trailing whitespace.

This commit is contained in:
Mark de Wever 2010-04-27 19:46:40 +00:00
parent 124325be3d
commit d67503e1c3
4 changed files with 11 additions and 11 deletions

View file

@ -561,7 +561,7 @@ protected:
void scroll_to_xy(int screenxpos, int screenypos, SCROLL_TYPE scroll_type,bool force = true);
std::string fog_image(const map_location & loc){
std::string fog_image(const map_location & loc){
std::stringstream tmp;
tmp << fog_image_;
tmp << (loc.x+loc.y)%3 +1;

View file

@ -716,7 +716,7 @@ WML_HANDLER_FUNCTION(music_volume, /*event_info*/, cfg)
std::string absolute = cfg["value"];
std::string relative = cfg["relative"];
int vol = sound::get_music_volume();
if(!absolute.empty()) {
vol = atoi(absolute.c_str());
}

View file

@ -822,7 +822,7 @@ void tdistributor::signal_handler_sdl_key_down(const SDLKey key
*/
continue;
}
// Attempt to cast to control, to avoid sending events if the
// widget is disabled. If the cast fails, we assume the widget
// is enabled and ready to receive events.
@ -830,7 +830,7 @@ void tdistributor::signal_handler_sdl_key_down(const SDLKey key
if(control != NULL && !control->get_active()) {
continue;
}
DBG_GUI_E << LOG_HEADER << "Firing: " << event::SDL_KEY_DOWN << ".\n";
if(owner_.fire(event::SDL_KEY_DOWN
, **ritor, key, modifier, unicode)) {

View file

@ -3,17 +3,17 @@
if(win_locale=="af")
win_locale = "Afrikaans";
if(win_locale=="ar")
win_locale = "Arabic";
win_locale = "Arabic";
if(win_locale=="bg")
win_locale = "Bulgarian";
if(win_locale=="ca")
win_locale = "Catalan";
win_locale = "Catalan";
if(win_locale=="cs")
win_locale = "Czech";
if(win_locale=="da")
win_locale = "Danish";
if(win_locale=="de")
win_locale = "German";
win_locale = "German";
if(win_locale=="el")
win_locale = "Greek";
if(win_locale=="en")
@ -35,7 +35,7 @@
if(win_locale=="he")
win_locale = "Hebrew";
if(win_locale=="hr")
win_locale = "Croatian";
win_locale = "Croatian";
if(win_locale=="hu")
win_locale = "Hungarian";
if(win_locale=="id")
@ -43,7 +43,7 @@
if(win_locale=="it")
win_locale = "Italian";
if(win_locale=="ja")
win_locale = "Japanese";
win_locale = "Japanese";
if(win_locale=="ko")
win_locale = "Korean";
if(win_locale=="la")
@ -51,11 +51,11 @@
if(win_locale=="lt")
win_locale = "Lithuanian";
if(win_locale=="mk")
win_locale = "Macedonian";
win_locale = "Macedonian";
if(win_locale=="nb")
win_locale = "Norwegian";
if(win_locale=="nl")
win_locale = "Dutch";
win_locale = "Dutch";
if(win_locale=="pl")
win_locale = "Polish";
if(win_locale=="pt")