mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define
This commit is contained in:
@@ -139,7 +139,7 @@ static void DrawGraph(const GraphDrawer *gw)
|
||||
/* For now, if the graph has negative values the scaling is
|
||||
* symmetrical about the x axis, so take the absolute value
|
||||
* of each data point. */
|
||||
highest_value = max(highest_value, myabs(datapoint));
|
||||
highest_value = max(highest_value, abs(datapoint));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user