From 32056de116bf65368ccff2e887d29fbf81075bed Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 Oct 2001 01:28:28 +0000 Subject: Removed platform-specific headers from Platform.h and thus stopped visibility of these headers to most code. --- src/Document.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 7ffb651ba..213a72d6a 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -230,7 +230,7 @@ bool Document::IsDBCS(int pos) { while (startLine > 0 && cb.CharAt(startLine) != '\r' && cb.CharAt(startLine) != '\n') startLine--; while (startLine <= pos) { - if (IsDBCSLeadByteEx(dbcsCodePage, cb.CharAt(startLine))) { + if (Platform::IsDBCSLeadByte(dbcsCodePage, cb.CharAt(startLine))) { startLine++; if (startLine >= pos) return true; @@ -322,7 +322,7 @@ int Document::MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd) { while (startLine < pos) { if (atLeadByte) atLeadByte = false; - else if (IsDBCSLeadByteEx(dbcsCodePage, cb.CharAt(startLine))) + else if (Platform::IsDBCSLeadByte(dbcsCodePage, cb.CharAt(startLine))) atLeadByte = true; else atLeadByte = false; -- cgit v1.2.3