NSIS_SUPPORT_LANG_IN_STRINGS works without NSIS_SUPPORT_NAMED_USERVARS

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2764 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
ramon18 2003-07-23 09:34:41 +00:00
parent 7f1e93c85e
commit a3c887d456
3 changed files with 33 additions and 10 deletions

View file

@ -517,17 +517,26 @@ DWORD NSISCALL SetSelfFilePointer(LONG lDistanceToMove, DWORD dwMoveMethod);
// $0..$9, $INSTDIR, etc are encoded as ASCII bytes starting from this value.
// Added by ramon 3 jun 2003
#ifdef NSIS_SUPPORT_NAMED_USERVARS
#define VAR_CODES_START 253
#ifdef NSIS_SUPPORT_LANG_IN_STRINGS
#define VAR_CODES_START 253
#else
#define VAR_CODES_START 254
#endif
#ifdef NSIS_SUPPORT_LANG_IN_STRINGS
#define LANG_CODES_START 254
#endif
#else
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#define VAR_CODES_START (256 - 37)
#else
#define VAR_CODES_START (256 - 36)
#endif
#endif
#ifdef NSIS_SUPPORT_LANG_IN_STRINGS
#define LANG_CODES_START 254
#else
#define LANG_CODES_START 255
#endif
#ifdef NSIS_SUPPORT_LANG_IN_STRINGS
#define LANG_CODES_START 254
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#define VAR_CODES_START (LANG_CODES_START - 37)
#else
#define VAR_CODES_START (LANG_CODES_START - 36)
#endif
#endif
union installer_flags {