Fix a problem with ANSI/Unicode different opcode numbers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6101 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
57f7ff8a1c
commit
52408912ab
1 changed files with 7 additions and 4 deletions
|
@ -167,10 +167,6 @@ enum
|
||||||
EW_FOPEN, // FileOpen: 4 [name, openmode, createmode, outputhandle]
|
EW_FOPEN, // FileOpen: 4 [name, openmode, createmode, outputhandle]
|
||||||
EW_FPUTS, // FileWrite: 3 [handle, string, ?int:string]
|
EW_FPUTS, // FileWrite: 3 [handle, string, ?int:string]
|
||||||
EW_FGETS, // FileRead: 4 [handle, output, maxlen, ?getchar:gets]
|
EW_FGETS, // FileRead: 4 [handle, output, maxlen, ?getchar:gets]
|
||||||
#ifdef _UNICODE
|
|
||||||
EW_FPUTWS, // FileWriteUTF16LE: 3 [handle, string, ?int:string]
|
|
||||||
EW_FGETWS, // FileReadUTF16LE: 4 [handle, output, maxlen, ?getchar:gets]
|
|
||||||
#endif
|
|
||||||
EW_FSEEK, // FileSeek: 4 [handle, offset, mode, >=0?positionoutput]
|
EW_FSEEK, // FileSeek: 4 [handle, offset, mode, >=0?positionoutput]
|
||||||
#endif//NSIS_SUPPORT_FILEFUNCTIONS
|
#endif//NSIS_SUPPORT_FILEFUNCTIONS
|
||||||
|
|
||||||
|
@ -204,6 +200,13 @@ enum
|
||||||
#ifdef NSIS_LOCKWINDOW_SUPPORT
|
#ifdef NSIS_LOCKWINDOW_SUPPORT
|
||||||
EW_LOCKWINDOW,
|
EW_LOCKWINDOW,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _UNICODE // opcodes available only in Unicode installers must be at the end of the enumeration
|
||||||
|
#ifdef NSIS_SUPPORT_FILEFUNCTIONS
|
||||||
|
EW_FPUTWS, // FileWriteUTF16LE: 3 [handle, string, ?int:string]
|
||||||
|
EW_FGETWS, // FileReadUTF16LE: 4 [handle, output, maxlen, ?getchar:gets]
|
||||||
|
#endif//NSIS_SUPPORT_FILEFUNCTIONS
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#define FH_FLAGS_MASK 15
|
#define FH_FLAGS_MASK 15
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue