Fix TxCommand forward declaration for WindExecute prototype

This commit is contained in:
Enno Schnackenberg 2026-05-05 13:47:42 +02:00
parent 70083211a0
commit 3952d07b17
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#define TX_MAXARGS 200
#define TX_MAX_CMDLEN 2048
typedef struct { /* A command -- either a button push or
typedef struct TX_CMD_S { /* A command -- either a button push or
* a textual command.
*/
Point tx_p; /* The location of the pointing device

View File

@ -251,6 +251,7 @@ extern void WindOutToIn();
extern void WindInToOut();
extern void WindSetWindowAreas(MagWindow *);
extern void windFixSurfaceArea();
typedef struct TX_CMD_S TxCommand; /* Forward declaration; defined in textio/txcommands.h */
extern int WindExecute(MagWindow *, WindClient, TxCommand *);
extern void WindAddCommand(WindClient, char *, void (*)(), bool);
extern int WindReplaceCommand();