(trade_check_item_ok): New.
(trade_check_ok): Use it and simplify. (set): Use new trade_check_item_ok(). The code replaced by it didn't work (abusable bug).
This commit is contained in:
parent
79714720cc
commit
38f3f7ea49
3 changed files with 13 additions and 16 deletions
|
@ -65,6 +65,7 @@ union trdgenstr {
|
|||
};
|
||||
|
||||
extern int trade_check_ok(struct trdstr *, union trdgenstr *);
|
||||
extern int trade_check_item_ok(union trdgenstr *);
|
||||
extern s_char *trade_nameof(struct trdstr *, union trdgenstr *);
|
||||
extern int trade_desc(struct trdstr *, union trdgenstr *);
|
||||
extern int trade_getitem(struct trdstr *, union trdgenstr *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue