Simon Tatham
571fa3388d
Make TermWin's palette_get_overrides() take a Terminal *.
...
Less than 12 hours after 0.75 went out of the door, a user pointed out
that enabling the 'Use system colours' config option causes an
immediate NULL-dereference crash. The reason is because a chain of
calls from term_init() ends up calling back to the Windows
implementation of the palette_get_overrides() method, which responds
by trying to call functions on the static variable 'term' in window.c,
which won't be initialised until term_init() has returned.
Simple fix: palette_get_overrides() is now given a pointer to the
Terminal that it should be updating, because it can't find it out any
other way.
2021-05-08 18:14:56 +01:00
..
2021-05-08 17:18:17 +01:00
2021-04-26 18:00:01 +01:00
2021-05-08 17:51:27 +01:00
2021-04-26 18:00:01 +01:00
2021-05-08 17:51:27 +01:00
2021-04-26 18:00:01 +01:00
2021-05-08 17:51:27 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-05-03 17:01:55 +01:00
2021-05-08 17:20:50 +01:00
2021-04-26 18:00:01 +01:00
2020-06-21 16:39:47 +01:00
2020-06-21 16:39:47 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-22 20:00:46 +01:00
2021-04-26 18:00:01 +01:00
2007-01-07 10:17:12 +00:00
2019-09-08 20:29:21 +01:00
2021-04-26 18:00:01 +01:00
2007-01-07 10:17:12 +00:00
2021-05-08 17:51:27 +01:00
2021-04-26 18:00:01 +01:00
2005-10-04 14:13:28 +00:00
2021-04-26 18:00:01 +01:00
2007-01-07 10:17:12 +00:00
2005-10-04 14:13:28 +00:00
2005-10-04 14:13:28 +00:00
2021-04-26 18:00:01 +01:00
2021-05-08 17:51:27 +01:00
2021-05-08 17:33:25 +01:00
2021-05-08 17:51:27 +01:00
2021-05-08 17:33:25 +01:00
2021-05-08 17:33:25 +01:00
2021-04-26 18:00:01 +01:00
2021-05-08 17:20:50 +01:00
2007-01-07 10:17:12 +00:00
2021-04-02 19:04:19 +01:00
2021-05-08 17:33:25 +01:00
2007-01-07 10:17:12 +00:00
2021-02-23 18:26:50 +00:00
2021-04-26 18:00:01 +01:00
2007-01-07 10:17:12 +00:00
2019-09-08 20:29:21 +01:00
2021-04-26 18:00:01 +01:00
2007-02-06 22:39:15 +00:00
2021-04-02 19:04:19 +01:00
2021-05-08 17:33:25 +01:00
2021-04-17 13:53:02 +01:00
2019-03-18 21:53:45 +00:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2020-02-16 11:26:21 +00:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2019-03-18 22:02:13 +00:00
2017-05-07 16:29:01 +01:00
2021-04-26 18:00:01 +01:00
2021-05-08 18:14:56 +01:00
2021-04-26 18:00:01 +01:00