mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 15:57:12 +00:00
Fixed bug which created unnecesary font tags
This commit is contained in:
1 parent
2518b37e32
commit
3155bd0172
1 file changed
+1
-1
@@ -1093,7 +1093,7 @@ const unsigned short ansicpg874[256] = {
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
else if ([s hasPrefix: @"f"] && [s length] > 1)
|
||||
else if ([s hasPrefix: @"f"] && [s length] > 1 && isdigit([s characterAtIndex: 1]))
|
||||
{
|
||||
RTFFontInfo *fontInfo;
|
||||
int font_index;
|
||||
|
||||
Reference in new issue
Block a user