Index: fpdfsdk/src/fpdf_transformpage.cpp |
diff --git a/fpdfsdk/src/fpdf_transformpage.cpp b/fpdfsdk/src/fpdf_transformpage.cpp |
index 9f500b27687a8b829b4d8553e8bcfe43aaaea600..3d2f6511cd5ae2c651fd1e4f0f325d297216cf6a 100644 |
--- a/fpdfsdk/src/fpdf_transformpage.cpp |
+++ b/fpdfsdk/src/fpdf_transformpage.cpp |
@@ -240,9 +240,9 @@ void OutputPath(CFX_ByteTextBuf& buf, CPDF_Path path) { |
for (int i = 0; i < pPathData->GetPointCount(); i++) { |
buf << (pPoints[i].m_PointX) << " " << (pPoints[i].m_PointY); |
int point_type = pPoints[i].m_Flag & FXPT_TYPE; |
- if (point_type == FXPT_MOVETO) |
+ if (point_type == FXPT_MOVETO) { |
buf << " m\n"; |
- else if (point_type == FXPT_BEZIERTO) { |
+ } else if (point_type == FXPT_BEZIERTO) { |
buf << " " << (pPoints[i + 1].m_PointX) << " " |
<< (pPoints[i + 1].m_PointY) << " " << (pPoints[i + 2].m_PointX) |
<< " " << (pPoints[i + 2].m_PointY); |