Skip to content

Commit

Permalink
Remove trailing whitespace from the source files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberth289346 committed Jul 31, 2018
1 parent c5bf80f commit 04237d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CorsixTH/Src/lua_rnc.cpp
Expand Up @@ -21,7 +21,7 @@ static int l_decompress(lua_State *L)
lua_pushliteral(L, "Input is not RNC compressed data");
return 2;
}
uint32_t outlen = rnc_output_size(in);
uint32_t outlen = rnc_output_size(in);

// Allocate scratch area as Lua userdata so that if something horrible
// happens, it'll be cleaned up by Lua's GC. Remember that most Lua API
Expand Down
2 changes: 1 addition & 1 deletion CorsixTH/Src/th_gfx_sdl.h
Expand Up @@ -193,7 +193,7 @@ class render_target

//! Set the window caption
void set_caption(const char* sCaption);

//! Toggle mouse capture on the window.
void set_window_grab(bool bActivate);

Expand Down
4 changes: 2 additions & 2 deletions CorsixTH/Src/th_map.cpp
Expand Up @@ -620,7 +620,7 @@ std::vector<std::pair<int, int>> level_map::set_parcel_owner(int iParcelId, int

map_tile *pNode = cells;
const map_tile *pOriginalNode = original_cells;

for(int iY = 0; iY < 128; ++iY)
{
for(int iX = 0; iX < 128; ++iX, ++pNode, ++pOriginalNode)
Expand Down Expand Up @@ -1371,7 +1371,7 @@ static inline bool is_wall(map_tile *tile, size_t block, bool flag)
}

void level_map::update_shadows()
{
{
map_tile *pNode = cells;
for(int iY = 0; iY < 128; ++iY)
{
Expand Down
2 changes: 1 addition & 1 deletion CorsixTH/Src/th_map.h
Expand Up @@ -406,7 +406,7 @@ class level_map

//! If it exists, update the purchasability matrix.
void update_purchase_matrix();

int count_parcel_tiles(int iParcelId) const;

map_tile* cells;
Expand Down

0 comments on commit 04237d9

Please sign in to comment.