mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Co-authored-by: Runa Dacino <dacinoorder@gmail.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
11 lines
342 B
Plaintext
11 lines
342 B
Plaintext
/**
|
|
* Holds global defines for use in text input procedures
|
|
*/
|
|
|
|
|
|
/**
|
|
* stuff like `copytext(input, length(input))` will trim the last character of the input,
|
|
* because DM does it so it copies until the char BEFORE the `end` arg, so we need to bump `end` by 1 in these cases.
|
|
*/
|
|
#define PREVENT_CHARACTER_TRIM_LOSS(integer) (integer + 1)
|