Math plugin needs tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6561 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9152c24610
commit
6adc39c848
6 changed files with 6 additions and 4 deletions
|
@ -64,7 +64,7 @@ typedef struct
|
|||
typedef struct {
|
||||
exec_flags_t *exec_flags;
|
||||
int (NSISCALL *ExecuteCodeSegment)(int, HWND);
|
||||
void (NSISCALL *validate_filename)(TCHAR *);
|
||||
void (NSISCALL *validate_filename)(LPTSTR);
|
||||
int (NSISCALL *RegisterPluginCallback)(HMODULE, NSISPLUGINCALLBACK); // returns 0 on success, 1 if already registered and < 0 on errors
|
||||
} extra_parameters;
|
||||
|
||||
|
|
|
@ -855,7 +855,7 @@ TCHAR * NSISCALL GetNSISString(TCHAR *outbuf, int strtab)
|
|||
return ps_tmpbuf;
|
||||
}
|
||||
|
||||
void NSISCALL validate_filename(TCHAR *in) {
|
||||
void NSISCALL validate_filename(LPTSTR in) {
|
||||
TCHAR *nono = _T("*?|<>/\":");
|
||||
TCHAR *out;
|
||||
TCHAR *out_save;
|
||||
|
|
|
@ -98,7 +98,7 @@ TCHAR * NSISCALL findchar(TCHAR *str, TCHAR c);
|
|||
TCHAR * NSISCALL trimslashtoend(TCHAR *buf);
|
||||
TCHAR * NSISCALL skip_root(TCHAR *path);
|
||||
int NSISCALL is_valid_instpath(TCHAR *s);
|
||||
void NSISCALL validate_filename(TCHAR *fn);
|
||||
void NSISCALL validate_filename(LPTSTR fn);
|
||||
|
||||
/**
|
||||
* MoveFileOnReboot tries to move a file by the name of pszExisting to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue