summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_basic_coords.cpp2
-rw-r--r--core/fxcrt/include/fx_coordinates.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/fx_basic_coords.cpp b/core/fxcrt/fx_basic_coords.cpp
index 4c5dc55733..893a99ac42 100644
--- a/core/fxcrt/fx_basic_coords.cpp
+++ b/core/fxcrt/fx_basic_coords.cpp
@@ -150,7 +150,7 @@ int CFX_FloatRect::Substract4(CFX_FloatRect& s, CFX_FloatRect* pRects) {
}
return nRects;
}
-FX_RECT CFX_FloatRect::GetOutterRect() const {
+FX_RECT CFX_FloatRect::GetOuterRect() const {
CFX_FloatRect rect1 = *this;
FX_RECT rect;
rect.left = (int)FXSYS_floor(rect1.left);
diff --git a/core/fxcrt/include/fx_coordinates.h b/core/fxcrt/include/fx_coordinates.h
index ce97f6f6f3..e9c05ec644 100644
--- a/core/fxcrt/include/fx_coordinates.h
+++ b/core/fxcrt/include/fx_coordinates.h
@@ -237,7 +237,7 @@ class CFX_FloatRect {
void Union(const CFX_FloatRect& other_rect);
FX_RECT GetInnerRect() const;
- FX_RECT GetOutterRect() const;
+ FX_RECT GetOuterRect() const;
FX_RECT GetClosestRect() const;
int Substract4(CFX_FloatRect& substract_rect, CFX_FloatRect* pRects);