Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 558 → Rev 559

/trunk/main.c
81,7 → 81,7
return hash;
}
 
size_t get_temp_afs(LPTSTR outfilename, Boolean isStandalone, PARM_T *parm) {
size_t get_temp_afs(TCHAR* outfilename, Boolean isStandalone, PARM_T *parm) {
char* atempdir;
int hash;
size_t i, j;
133,12 → 133,15
return res;
}
 
#ifdef WIN_ENV
BOOL CalledFromRunDLL32(HINSTANCE hinst) {
char exename[MAX_PATH];
if (GetModuleFileNameA(hinst, exename, MAX_PATH) == 0) return false;
return stristr(exename, "rundll32") != NULL;
}
#endif
 
#ifdef WIN_ENV
void CALLBACK FakeRundll32(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) {
UNREFERENCED_PARAMETER(hwnd);
UNREFERENCED_PARAMETER(hinst);
158,6 → 161,7
 
return;
}
#endif
 
void CreateDataPointer(intptr_t* data) {
// Register "gdata" that contains the PARM information and other things which need to be persistant
274,11 → 278,10
 
goto endmain;
}
else {
#endif
 
// will be changed if an error happens
*result = noErr;
}
#endif
 
#ifdef SHOW_HOST_DEBUG
tmp = (char*)malloc(512);