openbsd-ports/audio/tracker/patches/patch-parse_options_c
2007-12-27 16:34:19 +00:00

17 lines
472 B
Plaintext

$OpenBSD: patch-parse_options_c,v 1.2 2007/12/27 16:34:19 espie Exp $
--- parse_options.c.orig Tue May 7 00:48:28 1996
+++ parse_options.c Thu Dec 27 16:51:26 2007
@@ -238,10 +238,11 @@ LOCAL int do_option(char *text, char *arg)
switch(type)
{
case 's':
+ case 'm':
if (i == argindex)
set->args[argindex].scalar = 1;
else
- set->args[i].scalar = 0;
+ set->args[argindex].scalar = 0;
return 0;
case 'n':
{