TxParseString() refactor to 1-arg public form

Only the txCommands.c file needs the 3-arg form locally
This commit is contained in:
Darryl L. Miles
2025-02-23 10:24:40 -05:00
committed by Tim Edwards
parent 9aef87c355
commit 705b4da105
6 changed files with 64 additions and 17 deletions
+2 -2
View File
@@ -780,7 +780,7 @@ keys_and_buttons:
freeMagic(vis);
}
/* Print Carriage Return & Put back Tcl/Tk prompt */
TxParseString("", NULL, NULL);
TxParseString("");
}
else
{
@@ -816,7 +816,7 @@ keys_and_buttons:
TxSetPoint(KeyPressedEvent->x,
grXtransY(mw, KeyPressedEvent->y),
mw->w_wid);
TxParseString(macroDef, NULL, NULL);
TxParseString(macroDef);
}
freeMagic(macroDef);
}
+2 -2
View File
@@ -784,7 +784,7 @@ keys_and_buttons:
freeMagic(vis);
}
/* Print Carriage Return & Put back Tcl/Tk prompt */
TxParseString("", NULL, NULL);
TxParseString("");
}
else
{
@@ -820,7 +820,7 @@ keys_and_buttons:
TxSetPoint(KeyPressedEvent->x,
grXtransY(mw, KeyPressedEvent->y),
mw->w_wid);
TxParseString(macroDef, NULL, NULL);
TxParseString(macroDef);
}
freeMagic(macroDef);
}
+2 -2
View File
@@ -1041,7 +1041,7 @@ keys_and_buttons:
freeMagic(vis);
}
/* Print Carriage Return & Put back Tcl/Tk prompt */
TxParseString("", NULL, NULL);
TxParseString("");
}
else
{
@@ -1076,7 +1076,7 @@ keys_and_buttons:
TxSetPoint(KeyPressedEvent->x,
grXToMagic(KeyPressedEvent->y),
grCurrent.mw->w_wid);
TxParseString(macroDef, NULL, NULL);
TxParseString(macroDef);
}
freeMagic(macroDef);
}