fixed bug #1083492 - resource editor unicode conversion is lossy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4878 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
92229d0a82
commit
c037ecfeed
6 changed files with 143 additions and 87 deletions
|
@ -148,8 +148,14 @@ typedef WORD LANGID;
|
|||
# ifndef FIELD_OFFSET
|
||||
# define FIELD_OFFSET(t,f) ((LONG)&(((t*)0)->f))
|
||||
# endif
|
||||
# ifndef MAKEINTRESOURCEA
|
||||
# define MAKEINTRESOURCEA(i) ((LPSTR)((DWORD)((WORD)(i))))
|
||||
# endif
|
||||
# ifndef MAKEINTRESOURCEW
|
||||
# define MAKEINTRESOURCEW(i) ((LPWSTR)((DWORD)((WORD)(i))))
|
||||
# endif
|
||||
# ifndef MAKEINTRESOURCE
|
||||
# define MAKEINTRESOURCE(i) (LPSTR)((DWORD)((WORD)(i)))
|
||||
# define MAKEINTRESOURCE MAKEINTRESOURCEA
|
||||
# endif
|
||||
# ifndef IMAGE_FIRST_SECTION
|
||||
# define IMAGE_FIRST_SECTION(h) ( PIMAGE_SECTION_HEADER( (DWORD) h + \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue