mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
restrict "std" namespace using .
This commit is contained in:
parent
fc363aa59d
commit
00753d2ff2
17 changed files with 36 additions and 32 deletions
|
@ -164,7 +164,7 @@ ProjectedVec TextDrawer::GetExtent(const std::string& text) const
|
|||
cur.set(0, cur.y + ch + lineOffset);
|
||||
} else if (c >= 32 && c <= 126) {
|
||||
cur.x += cw;
|
||||
maxpos.set(max(maxpos.x, cur.x), max(maxpos.y, cur.y + ch));
|
||||
maxpos.set(std::max(maxpos.x, cur.x), std::max(maxpos.y, cur.y + ch));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue