Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 550 → Rev 549

/trunk/load_mac.c
1,7 → 1,7
/*
This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
Copyright (C) 2018-2023 Daniel Marschall, ViaThinkSoft
Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
91,7 → 91,7
// first try to read text parameters (AFS, TXT, PFF)
if (*reason == NULL) {
if (readfile_afs_pff(sfr,reason)) {
parm_reset(true, false, true, false);
gdata->parmloaded = false;
gdata->obfusc = false;
return true;
}
100,7 → 100,7
// Try to read the file as FFL file
if (*reason == NULL) {
if (readfile_ffl(sfr,reason)) {
parm_reset(true, true, true, true);
gdata->parmloaded = false;
gdata->obfusc = false;
return true;
}
109,6 → 109,7
// then try "Filters Unlimited" file (FFX)
if (*reason == NULL) {
if (readfile_ffx(sfr,reason)) {
gdata->parmloaded = true;
gdata->obfusc = false;
return true;
}
117,6 → 118,7
// then try "PluginCommander TXT" file (TXT)
if (*reason == NULL) {
if (readfile_picotxt(sfr,reason)) {
gdata->parmloaded = true;
gdata->obfusc = false;
return true;
}
125,6 → 127,7
// Is it a "GIMP UserFilter (GUF)" file? (Only partially compatible with Filter Factory!!!)
if (*reason == NULL) {
if (readfile_guf(sfr,reason)) {
gdata->parmloaded = true;
return true;
}
}
133,9 → 136,9
if (*reason == NULL) {
if (readmacplugin(sfr,reason)) {
if (gdata->parm.iProtected) {
parm_reset(true, true, true, true);
*reason = "The filter is protected.";
} else {
gdata->parmloaded = true;
return true;
}
}
146,9 → 149,9
if (*reason == NULL) {
if (readfile_8bf(sfr,reason)) {
if (gdata->parm.iProtected) {
parm_reset(true, true, true, true);
*reason = "The filter is protected.";
} else {
gdata->parmloaded = true;
return true;
}
}