Get rid of trailing whitespace.

Commit generated by command:

find -type f ! -path '*.git*' ! -path '*.png' ! -path '*.ico' ! -path \
    '*.ogg' | xargs -I '{}' sed -i '{}' -e 's/\t*$//g' -e 's/ *$//g'
This commit is contained in:
Jacek Wielemborek
2014-01-18 15:09:26 +01:00
parent 3750a85c5f
commit e6c9e78935
55 changed files with 341 additions and 341 deletions

View File

@@ -100,7 +100,7 @@ public:
HouseList getHouseList() { return m_houses; }
HouseList filterHouses(uint32 townId);
private:
private:
HouseList m_houses;
protected:

View File

@@ -87,7 +87,7 @@ void MapView::draw(const Rect& rect)
int drawFlags = 0;
// First branch:
// This is unlikely to be false because a lot of us
// don't wanna hear their GPU fan while playing a
// don't wanna hear their GPU fan while playing a
// 2D game.
//
// Second & Third branch:

View File

@@ -412,7 +412,7 @@ void Minimap::saveOtmm(const std::string& fileName)
fin->write(compressBuffer.data(), len);
}
}
// end of file
Position invalidPos;
fin->addU16(invalidPos.x);

View File

@@ -161,7 +161,7 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
if(drawFlags & Otc::DrawOnTop)
for(const ThingPtr& thing : m_things)
if(thing->isOnTop())
thing->draw(dest, scaleFactor, animate, lightView);
thing->draw(dest, scaleFactor, animate, lightView);
// draw translucent light (for tiles beneath holes)
if(hasTranslucentLight() && lightView) {
@@ -482,7 +482,7 @@ ThingPtr Tile::getTopMultiUseThing()
if(thing->isForceUse())
return thing;
}
for(uint i = 0; i < m_things.size(); ++i) {
ThingPtr thing = m_things[i];
if(!thing->isGround() && !thing->isGroundBorder() && !thing->isOnBottom() && !thing->isOnTop()) {

View File

@@ -65,7 +65,7 @@ bool UIMinimap::setZoom(int zoom)
else
m_scale = 1;
m_layout->update();
onZoomChange(zoom, oldZoom);
return true;
}