mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
TxParseString() refactor to 1-arg public form
Only the txCommands.c file needs the 3-arg form locally
This commit is contained in:
committed by
Tim Edwards
parent
9aef87c355
commit
705b4da105
@@ -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
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user