openbsd-ports/misc/dialog/patches/patch-dialog_c
2007-10-26 22:00:31 +00:00

22 lines
849 B
Plaintext

$OpenBSD: patch-dialog_c,v 1.1 2007/10/26 22:00:31 ajacoutot Exp $
--- dialog.c.orig Thu Jan 9 07:14:39 1997
+++ dialog.c Fri Oct 26 23:53:28 2007
@@ -56,7 +56,7 @@ static struct Mode modes[] =
{"--radiolist", 9, 0, 3, j_radiolist},
{"--inputbox", 5, 6, 1, j_inputbox},
#ifdef HAVE_GUAGE
- {"--guage", 6, 6, 1, j_guage},
+ {"--gauge", 6, 6, 1, j_guage},
#endif
{NULL, 0, 0, 0, NULL}
};
@@ -197,7 +197,7 @@ fprintf(stderr," %s [--title <title>] [--separat
\n --checklist <text> <height> <width> <list height> <tag1> <item1> <status1>...\
\n --radiolist <text> <height> <width> <list height> <tag1> <item1> <status1>...\n",name);
#ifdef HAVE_GUAGE
-fprintf(stderr," --guage <text> <height> <width> <percent>\n");
+fprintf(stderr," --gauge <text> <height> <width> <percent>\n");
#endif
exit (-1);
}