summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 80ef97c72..4d60dfdf1 100644
--- a/misc.c
+++ b/misc.c
@@ -162,9 +162,9 @@ void DeleteName(StringID id)
}
}
-char *GetName(int id, char *buff)
+char *GetName(char *buff, StringID id, const char* last)
{
- return strecpy(buff, _name_array[id & ~0x600], NULL);
+ return strecpy(buff, _name_array[id & ~0x600], last);
}