Simon Tatham
05a13d5cf7
GetDlgItemText_alloc: avoid realloc loop.
...
This rewrite, due to SATO Kentaro, uses GetWindowTextLength (which I
hadn't known about) to find the correct size to allocate the buffer
the first time, avoiding the need to keep growing it until a call to
GetDlgItemText doesn't have to truncate the result.
2025-01-25 11:09:20 +00:00
..
2022-01-03 12:21:39 +00:00
2022-01-03 12:12:05 +00:00
2024-12-19 08:52:47 +00:00
2024-09-26 11:30:07 +01:00
2022-04-25 14:10:16 +01:00
2024-09-26 11:30:07 +01:00
2021-05-02 08:19:28 +01:00
2023-02-18 14:10:21 +00:00
2021-04-18 08:18:27 +01:00
2021-09-30 19:00:11 +01:00
2021-04-18 08:18:27 +01:00
2024-12-13 19:24:41 +00:00
2023-02-18 14:10:21 +00:00
2021-05-08 17:18:17 +01:00
2021-04-18 08:18:27 +01:00
2025-01-25 11:09:20 +00:00
2022-09-13 11:26:57 +01:00
2022-03-12 21:05:07 +00:00
2021-04-18 08:18:27 +01:00
2021-05-08 17:18:17 +01:00
2021-04-18 08:18:27 +01:00
2021-12-28 18:08:31 +00:00
2021-04-18 08:18:27 +01:00
2024-09-24 09:42:58 +01:00
2022-09-03 11:59:12 +01:00
2023-05-29 15:41:50 +01:00
2024-09-26 11:30:07 +01:00
2022-09-03 11:59:12 +01:00
2022-09-14 16:09:37 +01:00
2025-01-25 10:30:00 +00:00
2024-09-26 11:30:07 +01:00
2022-08-03 20:48:46 +01:00
2022-09-02 16:11:05 +01:00
2023-03-16 17:33:49 +00:00
2024-09-26 11:30:07 +01:00
2021-04-18 08:18:27 +01:00
2022-03-12 18:51:21 +00:00
2021-04-18 08:18:27 +01:00
2025-01-13 21:12:40 +00:00