Fix OPTION_CMDTGT / MSGBUF

git-svn-id: file:///home/jj/hercules.svn/trunk@7733 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Jan Jaeger
2011-08-31 00:19:09 +00:00
parent be7a990151
commit 5e5812e401

12
panel.c
View File

@@ -2338,11 +2338,11 @@ char buf[1024]; /* Buffer workarea */
redraw_status = 1;
break;
}
MSGBUF( cmdline,
#if defined(OPTION_CMDTGT)
"herc "
MSGBUF( cmdline, "herc i %4.4x", NPdevnum[i]);
#else
MSGBUF( cmdline, "i %4.4x", NPdevnum[i]);
#endif
"i %4.4x", NPdevnum[i]);
do_panel_command(cmdline);
memset(NPprompt2,0,sizeof(NPprompt2));
redraw_status = 1;
@@ -2514,11 +2514,11 @@ char buf[1024]; /* Buffer workarea */
if ( pf == NULL )
{
MSGBUF( msgbuf, "DELAY "
#if defined(OPTION_CMDTGT)
"herc "
MSGBUF( msgbuf, "DELAY herc * %s UNDEFINED", szPF );
#else
MSGBUF( msgbuf, "DELAY * %s UNDEFINED", szPF );
#endif
"* %s UNDEFINED", szPF );
pf = msgbuf;
}