summaryrefslogtreecommitdiff
path: root/doc%252525252525253fid%252525252525253d07954626c6925f22e4d59b6d68f0947d4e54b8...
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-07 13:47:02 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-07 13:51:35 +0100
commit537b2859f249c4f6953049ee4c4e8829bbdeff0a (patch)
treead350000ae1b28ec0f81778e98a76bc74647919b /doc%252525252525253fid%252525252525253d07954626c6925f22e4d59b6d68f0947d4e54b8b9%2525252525253fid%2525252525253d07954626c6925f22e4d59b6d68f0947d4e54b8b9%25252525253fid%25252525253dfe0621bafd21acaf9909cb2f8ea65fa56560faed%252525253fid%252525253dfe0621bafd21acaf9909cb2f8ea65fa56560faed%2525253fid%2525253da3b0c8eed288dacf4c76c6c90c42a99139b1ca01%25253fid%25253d4ab6e75aa906ebf85cf68b5f23be003a7dae9c7a%253fid%253d4ab6e75aa906ebf85cf68b5f23be003a7dae9c7a%3fid%3d616c3759a5f28f3f6229af6d5d7ea0f302cbb17c?id=537b2859f249c4f6953049ee4c4e8829bbdeff0a
parente7a83118ea3f6a2d1c5e90870c223a1d2fe001ed (diff)
hooks.c: Fix window preparation in interactive mode
In commit 2857bac (Fix segfault when running hooks in non-interactive mode, 2016-01-16), we added checks to fix a segmentation fault in non-interactive mode. However, at the same time, that commit broke window preparation in interactive mode. When wins_prepare_external() is called, the UI mode is changed to command line, such that we cannot determine whether we need to call wins_unprepare_external() when returning from the hook. As a workaround, we now store the mode in a temporary variable. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc%252525252525253fid%252525252525253d07954626c6925f22e4d59b6d68f0947d4e54b8b9%2525252525253fid%2525252525253d07954626c6925f22e4d59b6d68f0947d4e54b8b9%25252525253fid%25252525253dfe0621bafd21acaf9909cb2f8ea65fa56560faed%252525253fid%252525253dfe0621bafd21acaf9909cb2f8ea65fa56560faed%2525253fid%2525253da3b0c8eed288dacf4c76c6c90c42a99139b1ca01%25253fid%25253d4ab6e75aa906ebf85cf68b5f23be003a7dae9c7a%253fid%253d4ab6e75aa906ebf85cf68b5f23be003a7dae9c7a%3fid%3d616c3759a5f28f3f6229af6d5d7ea0f302cbb17c?id=537b2859f249c4f6953049ee4c4e8829bbdeff0a')
0 files changed, 0 insertions, 0 deletions