summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_wordinfo.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-21 14:38:27 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-21 14:38:28 -0700
commit907a5223ea5abd09878de20cc74c59ebd0d6c3c8 (patch)
tree7dba8b090eda4f65da57d1979bdb02cedd273055 /core/fpdfdoc/cpvt_wordinfo.h
parent56a8b1944d555ed65dda97164b702a9a657485ca (diff)
downloadpdfium-907a5223ea5abd09878de20cc74c59ebd0d6c3c8.tar.xz
Use FXFONT defines in place of integers.
Fix nits along the way. Review-Url: https://codereview.chromium.org/2083943003
Diffstat (limited to 'core/fpdfdoc/cpvt_wordinfo.h')
-rw-r--r--core/fpdfdoc/cpvt_wordinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpvt_wordinfo.h b/core/fpdfdoc/cpvt_wordinfo.h
index 3eb980f3af..1ab0df21af 100644
--- a/core/fpdfdoc/cpvt_wordinfo.h
+++ b/core/fpdfdoc/cpvt_wordinfo.h
@@ -13,7 +13,7 @@
struct CPVT_WordInfo {
CPVT_WordInfo()
: Word(0),
- nCharset(0),
+ nCharset(FXFONT_ANSI_CHARSET),
fWordX(0.0f),
fWordY(0.0f),
fWordTail(0.0f),
@@ -34,7 +34,7 @@ struct CPVT_WordInfo {
CPVT_WordInfo(const CPVT_WordInfo& word)
: Word(0),
- nCharset(0),
+ nCharset(FXFONT_ANSI_CHARSET),
fWordX(0.0f),
fWordY(0.0f),
fWordTail(0.0f),