[wesnoth-commits] [wesnoth/wesnoth] 45ca79: ui: Fix ThemeWML [label] text_rgb= being horribly ...

Iris Morelle noreply at github.com
Sat Mar 13 18:01:36 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 45ca791387113ef227febaea3d6c8107db52935b
      https://github.com/wesnoth/wesnoth/commit/45ca791387113ef227febaea3d6c8107db52935b
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-13 (Sat, 13 Mar 2021)

  Changed paths:
    M changelog.md
    M src/display.cpp

  Log Message:
  -----------
  ui: Fix ThemeWML [label] text_rgb= being horribly broken

First cause of breakage seems to be that the introduction of color_t
changed the size of the colour components from something longer than 8
bits to 8 bits, resulting in stringstream outputting invalid UTF-8. The
second cause is the dropping of GUI1 markup along with SDL_ttf.





More information about the Commits mailing list