mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
CmdFI.c: CmdGoto() correct printf output
non-tktcl build check
This commit is contained in:
+2
-2
@@ -1783,7 +1783,7 @@ CmdGoto(
|
||||
MagWindow *w,
|
||||
TxCommand *cmd)
|
||||
{
|
||||
char *s, *nodename = cmd->tx_argv[1];
|
||||
char *nodename = cmd->tx_argv[1];
|
||||
Rect rect;
|
||||
CellUse *use;
|
||||
int locargc;
|
||||
@@ -1826,7 +1826,7 @@ CmdGoto(
|
||||
#ifdef MAGIC_WRAPPER
|
||||
Tcl_SetResult(magicinterp, (char*)DBTypeLongName(ttype), NULL); /* Tcl treats as const */
|
||||
#else
|
||||
TxPrintf("node %s is type %s\n", s, DBTypeLongName(ttype));
|
||||
TxPrintf("node %s is type %s\n", nodename, DBTypeLongName(ttype));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user