Feature: SLF_HEX to print hexadecimal numbers in the config file

This commit is contained in:
Johannes E. Krause
2019-03-22 04:37:53 +01:00
committed by Charles Pigott
parent f389d66e36
commit 107283748a
2 changed files with 12 additions and 5 deletions

View File

@@ -471,7 +471,8 @@ enum VarTypes {
SLF_NO_NETWORK_SYNC = 1 << 10, ///< do not synchronize over network (but it is saved if SLF_NOT_IN_SAVE is not set)
SLF_ALLOW_CONTROL = 1 << 11, ///< allow control codes in the strings
SLF_ALLOW_NEWLINE = 1 << 12, ///< allow new lines in the strings
/* 3 more possible flags */
SLF_HEX = 1 << 13, ///< print numbers as hex in the config file (only useful for unsigned)
/* 2 more possible flags */
};
typedef uint32 VarType;