summaryrefslogtreecommitdiff
path: root/fxbarcode
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode')
-rw-r--r--fxbarcode/oned/BC_OneDimWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fxbarcode/oned/BC_OneDimWriter.cpp b/fxbarcode/oned/BC_OneDimWriter.cpp
index 7e6483bb95..ecefec2f0a 100644
--- a/fxbarcode/oned/BC_OneDimWriter.cpp
+++ b/fxbarcode/oned/BC_OneDimWriter.cpp
@@ -173,8 +173,7 @@ void CBC_OneDimWriter::CalcTextInfo(const CFX_ByteString& text,
leftPositon = 0;
}
float penX = 0.0;
- float penY =
- (float)FXSYS_abs(cFont->GetDescent()) * (float)fontSize / 1000.0f;
+ float penY = (float)abs(cFont->GetDescent()) * (float)fontSize / 1000.0f;
float left = leftPositon;
float top = 0.0;
charPos[0].m_Origin = CFX_PointF(penX + left, penY + top);