[Commits] [wesnoth/wesnoth] ae156c: Don't save [label] colors with alpha

GitHub noreply at github.com
Sat Dec 3 20:37:14 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ae156cb3d1d81407c1ba0d8069e1b43ea6a012e1
      https://github.com/wesnoth/wesnoth/commit/ae156cb3d1d81407c1ba0d8069e1b43ea6a012e1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-04 (Sun, 04 Dec 2016)

  Changed paths:
    M src/map/label.cpp
    M src/map/label.hpp

  Log Message:
  -----------
  Don't save [label] colors with alpha

This cases from_rgb_string to trow an exception. Additionally, since the user cannot customize label alpha, it doesn't
make sense for its color to save it.


  Commit: 12254f4e18592bb071767e679c8c69f0653ef800
      https://github.com/wesnoth/wesnoth/commit/12254f4e18592bb071767e679c8c69f0653ef800
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-04 (Sun, 04 Dec 2016)

  Changed paths:
    M src/color.cpp

  Log Message:
  -----------
  color_t: fix to_rgb_string and to_rgba_string returning garbled data


Compare: https://github.com/wesnoth/wesnoth/compare/255dd6bfc32a...12254f4e1859


More information about the Commits mailing list