mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-31 22:02:58 -06:00
RichEdit: fabs/abs
git-svn-id: svn://ultimatepp.org/upp/trunk@6808 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bc8ba9b6b9
commit
7c5304d4e0
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ void RichEdit::MouseMove(Point p, dword flags)
|
|||
|
||||
static bool IsObjectPercent(Sizef percent, int p)
|
||||
{
|
||||
return abs(percent.cx - p) < 1 && abs(percent.cy - p) < 1;
|
||||
return fabs(percent.cx - p) < 1 && fabs(percent.cy - p) < 1;
|
||||
}
|
||||
|
||||
static bool IsObjectDelta(int delta, int d)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue