Renumber format flags for sanity

This commit is contained in:
Asher Baker 2016-02-15 10:09:48 +00:00
parent 76f33d2742
commit 886c358e91

View File

@ -36,9 +36,9 @@
using namespace SourceMod; using namespace SourceMod;
#define LADJUST 0x00000004 /* left adjustment */ #define LADJUST 0x00000001 /* left adjustment */
#define ZEROPAD 0x00000080 /* zero (as opposed to blank) pad */ #define ZEROPAD 0x00000002 /* zero (as opposed to blank) pad */
#define UPPERDIGITS 0x00000200 /* make alpha digits uppercase */ #define UPPERDIGITS 0x00000004 /* make alpha digits uppercase */
#define to_digit(c) ((c) - '0') #define to_digit(c) ((c) - '0')
#define is_digit(c) ((unsigned)to_digit(c) <= 9) #define is_digit(c) ((unsigned)to_digit(c) <= 9)