From 463bcf013ce355398974953508d232ac88a6b2d6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 18 Dec 2010 23:55:07 +0000 Subject: Add a M_CheckParmWithArgs function, that behaves like M_CheckParm but also checks that extra options were provided on the command line (thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2223 --- src/i_system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i_system.c') diff --git a/src/i_system.c b/src/i_system.c index afff1a95..9f599192 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -171,7 +171,7 @@ byte *I_ZoneBase (int *size) // Specify the heap size, in MiB (default 16). // - p = M_CheckParm("-mb"); + p = M_CheckParmWithArgs("-mb", 1); if (p > 0) { -- cgit v1.2.3