summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index 7a6032596..70bb897db 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -92,7 +92,7 @@ struct SignList {
GetString(buf_cache, STR_SIGN_NAME, lastof(buf_cache));
}
- int r = strcasecmp(buf, buf_cache);
+ int r = strnatcmp(buf, buf_cache); // Sort by name (natural sorting).
return r != 0 ? r : ((*a)->index - (*b)->index);
}