[Commits] [wesnoth/wesnoth] 81f477: Remove a local variable shadowing a data member.

GitHub noreply at github.com
Thu Apr 3 12:09:58 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 81f477f422a8575491f4c78317e40c3722837216
      https://github.com/wesnoth/wesnoth/commit/81f477f422a8575491f4c78317e40c3722837216
  Author: Boldizsár Lipka <lipkab at zoho.com>
  Date:   2014-04-03 (Thu, 03 Apr 2014)

  Changed paths:
    M src/sdl/texture.cpp

  Log Message:
  -----------
  Remove a local variable shadowing a data member.

Not sure how that thing got there.


  Commit: 9a889057cf81133515cc0c50ec41032fdf0e22c2
      https://github.com/wesnoth/wesnoth/commit/9a889057cf81133515cc0c50ec41032fdf0e22c2
  Author: Boldizsár Lipka <lipkab at zoho.com>
  Date:   2014-04-03 (Thu, 03 Apr 2014)

  Changed paths:
    M src/sdl/texture.cpp
    M src/sdl/texture.hpp

  Log Message:
  -----------
  Use surface instead of SDL_Surface* for storing pixel data.

Safer when someone else uses the surface, too.


Compare: https://github.com/wesnoth/wesnoth/compare/c9321455b252...9a889057cf81


More information about the Commits mailing list