Initialize fUseRTF to "true"

The field wasn't being initialized, so if you did things in a
certain way (open a .SDK as a ShrinkIt archive, double-click on
the disk image, then view an AppleWorks AWP document), the flag
might be initialized to "false" and you'd lose the formatting.
This commit is contained in:
Andy McFadden 2016-01-11 10:53:32 -08:00
parent 6153b0f9a1
commit c7869c38a5
2 changed files with 3 additions and 2 deletions

View File

@ -189,7 +189,8 @@ public:
};
ReformatText()
: fLeftMargin(0),
: fUseRTF(true),
fLeftMargin(0),
fRightMargin(0),
fPointSize(8),
fPreMultPointSize(8),

View File

@ -757,7 +757,7 @@ bool MatchSemicolonList(const CString set, const CString match)
cp++;
}
LOGI("--- No match for '%ls' in '%ls'", (LPCWSTR) match, (LPCWSTR) set);
LOGD("--- No match for '%ls' in '%ls'", (LPCWSTR) match, (LPCWSTR) set);
return false;
}