mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
- In `SetWindowResTextW()` and `SetWindowResPrintfVW()`, don't assume a fixed size of 256 characters max for the retrieved resource strings, but allocate a suitably-sized buffer IF the resource string is longer than the fixed buffer. (Use the fixed buffer only if the string is shorter.) - Introduce two helpers `LoadAllocStringW()` and `FormatAllocStringWV()`, based on existing code from `DisplayMessageV()`, and use these for `DisplayMessageV()`, `SetWindowResTextW()`, and `SetWindowResPrintfVW()`.