CmdFI.c: CmdGoto() correct printf output

non-tktcl build check
This commit is contained in:
Darryl L. Miles 2025-10-03 23:23:05 +01:00
parent b6ad9836c7
commit 8987c890dc
1 changed files with 2 additions and 2 deletions

View File

@ -1783,7 +1783,7 @@ CmdGoto(
MagWindow *w, MagWindow *w,
TxCommand *cmd) TxCommand *cmd)
{ {
char *s, *nodename = cmd->tx_argv[1]; char *nodename = cmd->tx_argv[1];
Rect rect; Rect rect;
CellUse *use; CellUse *use;
int locargc; int locargc;
@ -1826,7 +1826,7 @@ CmdGoto(
#ifdef MAGIC_WRAPPER #ifdef MAGIC_WRAPPER
Tcl_SetResult(magicinterp, (char*)DBTypeLongName(ttype), NULL); /* Tcl treats as const */ Tcl_SetResult(magicinterp, (char*)DBTypeLongName(ttype), NULL); /* Tcl treats as const */
#else #else
TxPrintf("node %s is type %s\n", s, DBTypeLongName(ttype)); TxPrintf("node %s is type %s\n", nodename, DBTypeLongName(ttype));
#endif #endif
} }