diff options
| author | mio <stigma@disroot.org> | 2025-05-12 21:05:34 +1000 |
|---|---|---|
| committer | mio <stigma@disroot.org> | 2025-05-15 17:05:23 +1000 |
| commit | 519310b60e8e0f169f7df21ea0b82a994627873c (patch) | |
| tree | 234a50afedae4c4df652fb2bbfe74a0ac5d0104f /ConfigureChecks.cmake | |
| parent | 2853c7182a4c8e1cef45517418e9d90aa3da879f (diff) | |
| download | bibletime-519310b6.tar.gz bibletime-519310b6.zip | |
Fix text rendering in display windows
sword 1.7 introduced new APIs to SWModule, one of which is renderText.
The old RenderText returned a const char*, however the new version
returns a SWBuf copy on the stack. This doesn't work when passing it to
TQString::fromUTF8 as the internal buffer is freed before the TQString
is constructed.
Note that RenderText in sword 1.7 and newer is a deprecated wrapper
around renderText.
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 022067805b453036d865565f72a4a27355eb4da5)
Diffstat (limited to 'ConfigureChecks.cmake')
0 files changed, 0 insertions, 0 deletions
