use same conversion for IS_INTRESOURCE and MAKEINTRESOURCE

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4890 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-01-25 13:15:49 +00:00
parent 4fb4a1f688
commit fb80d0f5f7

View file

@ -167,10 +167,10 @@ typedef DWORDLONG ULONGLONG,*PULONGLONG;
# define FIELD_OFFSET(t,f) ((LONG)&(((t*)0)->f))
# endif
# ifndef MAKEINTRESOURCEA
# define MAKEINTRESOURCEA(i) ((LPSTR)((DWORD)((WORD)(i))))
# define MAKEINTRESOURCEA(i) ((LPSTR)((ULONG_PTR)((WORD)(i))))
# endif
# ifndef MAKEINTRESOURCEW
# define MAKEINTRESOURCEW(i) ((LPWSTR)((DWORD)((WORD)(i))))
# define MAKEINTRESOURCEW(i) ((LPWSTR)((ULONG_PTR)((WORD)(i))))
# endif
# ifndef MAKEINTRESOURCE
# define MAKEINTRESOURCE MAKEINTRESOURCEA