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
commit7a4d96f629a9bd447846f8569fad78cf8e5196c5 (patch)
tree6112141c4dddc87df3ac0db557f34623319c73e0 /src/settings.cpp
parent26224adf782da38e00ea97ff82e5420559464199 (diff)
downloadopenttd-7a4d96f629a9bd447846f8569fad78cf8e5196c5.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) {