From 1731f9c61d131911ea17da75bedfb9d5f723d6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20H=C3=A5llberg?= Date: Wed, 31 Dec 2008 13:43:21 -0500 Subject: bugfixed error message for '#action ' diff --git a/cmd2.c b/cmd2.c index 1b9b1be..83b3111 100644 --- a/cmd2.c +++ b/cmd2.c @@ -642,7 +642,7 @@ void parse_action __P2 (char *,str, int,onprompt) BUFSIZE - (int)strlen((*np)->pattern) - 10, (*np)->command); } else { - PRINTF("#no action, cannot show pattern: \"%s\"\n", pattern); + PRINTF("#no action, cannot show pattern: \"%s\"\n", str); } } } -- cgit v0.10.2