summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 20:40:14 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 20:40:14 +0000
commit58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (patch)
tree6112141c4dddc87df3ac0db557f34623319c73e0 /src/settings.cpp
parentd076ea8697a61a4d7783bd6e1b5c7f12ecc2ec83 (diff)
downloadopenttd-58bb5c752568f8f9a1cb4d9533268d0ecad34e12.tar.xz
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 68e31ad85..082495c03 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -97,7 +97,7 @@ static void *pool_alloc(SettingsMemoryPool **pool, uint size)
uint pos;
SettingsMemoryPool *p = *pool;
- size = ALIGN(size, sizeof(void*));
+ size = Align(size, sizeof(void*));
/* first check if there's memory in the next pool */
if (p->next && p->next->pos + size <= p->next->size) {