Subversion Repositories filter_foundry

Rev

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

Rev 192 Rev 194
Line 115... Line 115...
115
                                res = !(saveparams(h) || savehandleintofile(h,r)) ;
115
                                res = !(saveparams(h) || savehandleintofile(h,r)) ;
116
                                PIDISPOSEHANDLE(h);
116
                                PIDISPOSEHANDLE(h);
117
                        }
117
                        }
118
 
118
 
119
                        FSClose(r);
119
                        FSClose(r);
120
                }else reasonstr = ("Could not open the file.");
120
                }else reasonstr = (my_strdup("Could not open the file."));
121
        else reasonstr = ("Could not create the file.");
121
        else reasonstr = (my_strdup("Could not create the file."));
122
 
122
 
123
        if(!res)
123
        if(!res)
124
                alertuser("Could not save settings.",reasonstr);
124
                alertuser(my_strdup("Could not save settings."),reasonstr);
125
 
125
 
126
        return res;
126
        return res;
127
}
127
}