Some TCHAR fixes, linker flag for Unicode, and cosmetic touch without real changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6052 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d7ffe58b2e
commit
01d88a1ed6
11 changed files with 1126 additions and 1118 deletions
|
@ -488,6 +488,8 @@ typedef struct {
|
|||
// don't want false end of string values so we shift then OR with 0x8080
|
||||
#define CODE_SHORT(x) (WORD)((((WORD)(x) & 0x7F) | (((WORD)(x) & 0x3F80) << 1) | 0x8080))
|
||||
#define MAX_CODED 16383 // 0x3FFF
|
||||
// This macro takes a pointer to char
|
||||
#define DECODE_SHORT(c) (((c[1] & 0x7F) << 7) | (c[0] & 0x7F))
|
||||
|
||||
#define NSIS_INSTDIR_INVALID 1
|
||||
#define NSIS_INSTDIR_NOT_ENOUGH_SPACE 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue