Add VF_NO_SAVE flag to mark variables that shouldn't be saved

This replaces an explicit test for the variable names "DISPLAY" and "CLIENT_INFORMATION".
This commit is contained in:
Kevin Easton
2017-10-26 16:12:19 +11:00
parent 796eef3f99
commit dc30b852e1
2 changed files with 6 additions and 5 deletions

View File

@@ -404,7 +404,8 @@ extern int loading_global;
#define STR_TYPE_VAR 3
#define SET_TYPE_VAR 4
#define VF_EXPAND_PATH 0x0002
#define VF_NO_SAVE 0x0001U
#define VF_EXPAND_PATH 0x0002U
#define VIF_CHANGED 0x01
#define VIF_GLOBAL 0x02