Simon Tatham
e0959d4647
Macro wrapper on ctrl_radiobuttons to fill in the NULL.
...
ctrl_radiobuttons has a variadic argument list that it expects to be
terminated by a null pointer where a const char * should be. So the
terminating NULL at each call site ought to be cast to const char *,
for the usual reason (NULL might expand literally to something not the
same size as a pointer and get mis-marshalled in the variadic argument
list). It wasn't being.
Fixed in the same way as dupcat: I've turned ctrl_radiobuttons into a
macro wrapper on the underlying function, which adds the NULL
automatically with its correct cast. This also saves verbiage at every
call site, because now I can leave out all the NULLs there.
2022-06-01 11:14:21 +01:00
..
2022-04-25 14:10:16 +01:00
2022-01-03 12:12:05 +00:00
2021-05-24 15:27:38 +01:00
2022-05-01 10:16:19 +01:00
2022-06-01 11:14:21 +01:00
2022-05-21 09:53:03 +01:00
2022-01-22 15:51:31 +00:00
2022-05-07 12:02:23 +01:00
2021-04-26 18:00:01 +01:00
2022-05-08 08:51:45 +01:00
2022-05-08 11:10:55 +01:00
2022-01-22 15:51:31 +00:00
2022-01-22 15:51:31 +00:00
2021-05-27 09:48:32 +01:00
2022-04-24 08:38:27 +01:00
2021-10-18 20:15:35 +01:00
2021-04-26 18:00:01 +01:00
2021-05-03 17:01:55 +01:00
2022-05-08 11:10:55 +01:00
2022-01-22 15:51:31 +00:00
2020-06-21 16:39:47 +01:00
2020-06-21 16:39:47 +01:00
2022-01-22 15:51:31 +00:00
2021-10-30 17:29:24 +01:00
2022-05-08 11:10:55 +01:00
2022-01-22 15:51:31 +00:00
2022-01-22 15:51:31 +00:00
2021-04-26 18:00:01 +01:00
2021-04-22 20:00:46 +01:00
2022-05-04 20:00:42 +01:00
2019-09-08 20:29:21 +01:00
2021-04-26 18:00:01 +01:00
2022-05-08 11:10:55 +01:00
2022-05-18 13:05:17 +01:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2022-05-21 10:34:17 +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
2022-05-07 12:02:23 +01:00
2022-04-25 15:09:31 +01:00
2022-05-21 10:59:31 +01:00
2021-04-02 19:04:19 +01:00
2021-05-08 17:33:25 +01:00
2021-02-23 18:26:50 +00:00
2022-05-08 08:51:45 +01:00
2019-09-08 20:29:21 +01:00
2021-04-26 18:00:01 +01: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
2022-01-22 15:51:31 +00:00
2022-01-22 15:51:31 +00:00
2022-02-04 19:32:47 +00:00
2021-10-30 17:28:28 +01:00
2022-05-18 13:05:17 +01:00
2022-01-03 12:12:05 +00:00
2020-02-16 11:26:21 +00:00
2022-05-02 11:17:58 +01:00
2022-04-02 17:26:24 +01:00
2022-06-01 09:28:25 +01:00
2019-03-18 22:02:13 +00:00
2022-01-22 15:51:31 +00:00
2022-06-01 09:28:25 +01:00
2022-01-22 15:51:31 +00:00