Rev 271 | Rev 305 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 271 | Rev 292 | ||
---|---|---|---|
Line 351... | Line 351... | ||
351 | "All supported files (*.afs, *.8bf, *.pff, *.prm, *.bin, *.txt)\0*.afs;*.8bf;*.pff;*.prm;*.bin;*.txt\0Filter Factory Settings (*.afs, *.txt)\0*.afs;*.txt\0Filter Factory for Windows, Standalone Filter (*.8bf)\0*.8bf\0Premiere TF/FF Settings (*.pff, *.txt)\0*.pff;*.txt\0Premiere TT/FF for Windows, Standalone Filter (*.prm)\0*.prm\0FilterFactory for MacOS, Standalone Filter (*.bin)\0*.bin\0All files (*.*)\0*.*\0\0" |
351 | "All supported files (*.afs, *.8bf, *.pff, *.prm, *.bin, *.txt)\0*.afs;*.8bf;*.pff;*.prm;*.bin;*.txt\0Filter Factory Settings (*.afs, *.txt)\0*.afs;*.txt\0Filter Factory for Windows, Standalone Filter (*.8bf)\0*.8bf\0Premiere TF/FF Settings (*.pff, *.txt)\0*.pff;*.txt\0Premiere TT/FF for Windows, Standalone Filter (*.prm)\0*.prm\0FilterFactory for MacOS, Standalone Filter (*.bin)\0*.bin\0All files (*.*)\0*.*\0\0" |
352 | #ifdef _WIN32 |
352 | #ifdef _WIN32 |
353 | ,gdata->hWndMainDlg |
353 | ,gdata->hWndMainDlg |
354 | #endif /* _WIN32 */ |
354 | #endif /* _WIN32 */ |
355 | )){ |
355 | )){ |
- | 356 | bak_obfusc = gdata->obfusc; |
|
- | 357 | bak_standalone = gdata->standalone; |
|
- | 358 | bak_parmloaded = gdata->parmloaded; |
|
- | 359 | memcpy(&bak_parm, &gdata->parm, sizeof(PARM_T)); |
|
- | 360 | ||
356 | if(loadfile(&sfr,&reason)){ |
361 | if(loadfile(&sfr,&reason)){ |
357 | updatedialog(dp); |
362 | updatedialog(dp); |
358 | maindlgupdate(dp); |
363 | maindlgupdate(dp); |
- | 364 | } |
|
359 | }else |
365 | else { |
360 | alertuser(_strdup("Cannot load settings."),reason); |
366 | alertuser(_strdup("Cannot load settings."), reason); |
- | 367 | ||
- | 368 | gdata->obfusc = bak_obfusc; |
|
- | 369 | gdata->standalone = bak_standalone; |
|
- | 370 | gdata->parmloaded = bak_parmloaded; |
|
- | 371 | memcpy(&gdata->parm, &bak_parm, sizeof(PARM_T)); |
|
- | 372 | } |
|
361 | } |
373 | } |
362 | break; |
374 | break; |
363 | case SAVEITEM: |
375 | case SAVEITEM: |
364 | if(!gdata->standalone && putfile( |
376 | if(!gdata->standalone && putfile( |
365 | #ifdef MAC_ENV |
377 | #ifdef MAC_ENV |