[wesnoth-commits] [wesnoth/wesnoth] cad013: fix UB in story_viewer

gfgtdf noreply at github.com
Fri Sep 13 17:02:08 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: cad013c4dec7f93359785638ec55da95a4808f0c
      https://github.com/wesnoth/wesnoth/commit/cad013c4dec7f93359785638ec55da95a4808f0c
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2019-09-13 (Fri, 13 Sep 2019)

  Changed paths:
    M src/gui/dialogs/story_viewer.cpp
    M src/gui/dialogs/story_viewer.hpp

  Log Message:
  -----------
  fix UB in story_viewer

previously the first image timer would not be cleared when the user restarted
the part, which in particular caused UB if the story_viewer was closed
before all timers have finished.

fixes #3838 fixes #3837





More information about the Commits mailing list