* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
if (redisplay_mask & PROPS_REDO_EDITORS) {
- if (((Editor *) c->editor)->base_form_mgr) {
+ if (c->editor && ((Editor *) c->editor)->base_form_mgr) {
Editor *e = (Editor *) c->editor;
DSSW *dssw = &((Editor *) c->editor)->dssw;
}
- if (((ToDo *) c->todo)->base_form_mgr) {
+ if (c->todo && ((ToDo *) c->todo)->base_form_mgr) {
ToDo *t = (ToDo *)c->todo;
DSSW *dssw = &((ToDo *) c->todo)->dssw;
else if (answer == 3) {
return(False);
}
+ return(True);
}
else
return(True);
val->selected = convert_boolean_str(get_char_prop(p, CP_MAILON));
val->scope = convert_time_scope_str(get_char_prop(p, CP_MAILUNIT));
val->scope_val = get_int_prop(p, CP_MAILADV);
- strcpy(pu->ep_reminders.mailto_val, get_char_prop(p, CP_MAILTO));
+ snprintf(pu->ep_reminders.mailto_val,
+ sizeof(pu->ep_reminders.mailto_val),
+ "%s",
+ get_char_prop(p, CP_MAILTO));
set_reminders_vals(&pu->ep_reminders, False);