summaryrefslogtreecommitdiff
path: root/src/client/ui/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ui/script.c')
-rw-r--r--src/client/ui/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/ui/script.c b/src/client/ui/script.c
index 9d276ad..4176ee6 100644
--- a/src/client/ui/script.c
+++ b/src/client/ui/script.c
@@ -397,6 +397,7 @@ static void Parse_Field(menuFrameWork_t *menu)
static const cmd_option_t o_field[] = {
{ "c", "center" },
{ "i", "integer" },
+ { "n", "numeric" },
{ "s:", "status" },
{ "w:", "width" },
{ NULL }
@@ -414,6 +415,7 @@ static void Parse_Field(menuFrameWork_t *menu)
center = qtrue;
break;
case 'i':
+ case 'n':
flags |= QMF_NUMBERSONLY;
break;
case 's':