Added '~' to the list of delimiters in cTextWrapper

This commit is contained in:
Klaus Schmidinger 2025-02-17 11:13:13 +01:00
parent d3dcbbd4f2
commit ebbaa39098
3 changed files with 4 additions and 2 deletions

View File

@ -3383,6 +3383,7 @@ Stefan Hofmann <stefan.hofmann@t-online.de>
for adding parameter checks to strn0cpy()
for making the info files of recordings only be re-read if they have been modified
for reporting missing setting the file name of the info file after renaming a recording
for adding '~' to the list of delimiters in cTextWrapper
Stefan Blochberger <Stefan.Blochberger@gmx.de>
for suggesting to automatically display the progress display whenever replay of a

View File

@ -10082,3 +10082,4 @@ Video Disk Recorder Revision History
- The function cPlugin::MainThreadHook() has been deprecated and may be removed in future
versions. Use proper locking instead.
- Fixed unnecessary redisplays of menus.
- Added '~' to the list of delimiters in cTextWrapper (thanks to Stefan Hofmann).

4
font.c
View File

@ -6,7 +6,7 @@
*
* BiDi support by Osama Alrawab <alrawab@hotmail.com> @2008 Tripoli-Libya.
*
* $Id: font.c 5.2 2022/12/06 12:30:13 kls Exp $
* $Id: font.c 5.3 2025/02/17 11:13:13 kls Exp $
*/
#include "font.h"
@ -618,7 +618,7 @@ void cTextWrapper::Set(const char *Text, const cFont *Font, int Width)
}
}
w += cw;
if (strchr("-.,:;!?_", *p)) {
if (strchr("-.,:;!?_~", *p)) {
Delim = p;
Blank = NULL;
}