1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r2072) Use lengthof() instead of a home brewed version

This commit is contained in:
tron
2005-03-25 20:37:06 +00:00
parent 67d2ada020
commit 7340aa5b8e

View File

@@ -71,4 +71,4 @@ CommandCallback *_callback_table[] = {
/* 0x14 */ CcTerraform
};
const int _callback_table_count = sizeof (_callback_table) / sizeof (*_callback_table);
const int _callback_table_count = lengthof(_callback_table);