diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-11 12:38:37 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-11 12:38:37 +0300 |
commit | 703d2b41fa299a9f8e24a5f6064c3624c3dedbbb (patch) | |
tree | 42667196b32cd8df1f7275e31cb4807214df681b /src/gmdocument.c | |
parent | 6015ee90776ef748fb83769d01735ff0f5ff42d3 (diff) |
Mobile: Minor tweaks
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 56953255..4f4546f2 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -256,9 +256,10 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li | |||
256 | if ((len = decodeBytes_MultibyteChar(desc.start, desc.end, &icon)) > 0) { | 256 | if ((len = decodeBytes_MultibyteChar(desc.start, desc.end, &icon)) > 0) { |
257 | if (desc.start + len < desc.end && | 257 | if (desc.start + len < desc.end && |
258 | (isPictograph_Char(icon) || isEmoji_Char(icon) || | 258 | (isPictograph_Char(icon) || isEmoji_Char(icon) || |
259 | icon == 0x2139 /* info */ || | ||
259 | icon == 0x2191 /* up arrow */ || | 260 | icon == 0x2191 /* up arrow */ || |
260 | icon == 0x2a2f /* close X */ || | 261 | icon == 0x2022 /* bullet */ || |
261 | icon == 0x2022 /* bullet */) && | 262 | icon == 0x2a2f /* close X */) && |
262 | !isFitzpatrickType_Char(icon)) { | 263 | !isFitzpatrickType_Char(icon)) { |
263 | link->flags |= iconFromLabel_GmLinkFlag; | 264 | link->flags |= iconFromLabel_GmLinkFlag; |
264 | link->labelIcon = (iRangecc){ desc.start, desc.start + len }; | 265 | link->labelIcon = (iRangecc){ desc.start, desc.start + len }; |