Fixed bug which created unnecesary font tags

This commit is contained in:
Javier Amor García
2015-11-27 17:34:08 +01:00
parent 2518b37e32
commit 3155bd0172
+1 -1
View File
@@ -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;