diff options
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 54287c284..f19383851 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -889,7 +889,7 @@ restart: GetString(buf1, townnametype); // Check size and width - if (strlen(buf1) >= 31 || GetStringWidth(buf1) > 130) continue; + if (strlen(buf1) >= 31 || GetStringBoundingBox(buf1).width > 130) continue; FOR_ALL_TOWNS(t2) { // We can't just compare the numbers since |