Subversion Repositories filter_foundry

Rev

Rev 552 | Rev 558 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 552 Rev 554
Line 89... Line 89...
89
                        if (0 == (res = readfile_afs_pff(sfr))) {
89
                        if (0 == (res = readfile_afs_pff(sfr))) {
90
                                parm_reset(true, false, true, false);
90
                                parm_reset(true, false, true, false);
91
                                gdata->obfusc = false;
91
                                gdata->obfusc = false;
92
                                return 0;
92
                                return 0;
93
                        }
93
                        }
-
 
94
                        if (res == MSG_INVALID_FILE_SIGNATURE_ID) res = MSG_LOADFILE_UNKNOWN_FORMAT_ID;
94
                }
95
                }
95
 
96
 
96
                // Try to read the file as FFL file
97
                // Try to read the file as FFL file
97
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
98
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
98
                        if (0 == (res = (readfile_ffl(sfr)))) {
99
                        if (0 == (res = (readfile_ffl(sfr)))) {
99
                                parm_reset(true, true, true, true);
100
                                parm_reset(true, true, true, true);
100
                                gdata->obfusc = false;
101
                                gdata->obfusc = false;
101
                                return 0;
102
                                return 0;
102
                        }
103
                        }
-
 
104
                        if (res == MSG_INVALID_FILE_SIGNATURE_ID) res = MSG_LOADFILE_UNKNOWN_FORMAT_ID;
103
                }
105
                }
104
 
106
 
105
                // then try "Filters Unlimited" file (FFX)
107
                // then try "Filters Unlimited" file (FFX)
106
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
108
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
107
                        if (0 == (res = (readfile_ffx(sfr)))) {
109
                        if (0 == (res = (readfile_ffx(sfr)))) {
108
                                gdata->obfusc = false;
110
                                gdata->obfusc = false;
109
                                return 0;
111
                                return 0;
110
                        }
112
                        }
-
 
113
                        if (res == MSG_INVALID_FILE_SIGNATURE_ID) res = MSG_LOADFILE_UNKNOWN_FORMAT_ID;
111
                }
114
                }
112
 
115
 
113
                // then try "PluginCommander TXT" file (TXT)
116
                // then try "PluginCommander TXT" file (TXT)
114
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
117
                if (res == MSG_LOADFILE_UNKNOWN_FORMAT_ID) {
115
                        if (0 == (res = (readfile_picotxt(sfr)))) {
118
                        if (0 == (res = (readfile_picotxt(sfr)))) {