summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 18:58:04 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 18:58:04 +0000
commit50bfe1a19d26d99b6ee10236771bd8c7cd38be01 (patch)
tree18ac24e0b26fa3cf7cb17962dde493f142f39a03 /src/graph_gui.cpp
parent8be526e4990ef8c7a742e6f3f67a42d0036750eb (diff)
downloadopenttd-50bfe1a19d26d99b6ee10236771bd8c7cd38be01.tar.xz
(svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index cfed85561..1e273a251 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -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));
}
}
}