mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm/rfp.c: NULL is not 0
This commit is contained in:
parent
0a74d63db4
commit
165af415d1
1 changed files with 2 additions and 2 deletions
|
@ -934,7 +934,7 @@ rfp_form_flags_to_appt(RFP *rfp, Dtcm_appointment *a, char *name, int *flagsP)
|
|||
/* return (CSA_E_INSUFFICIENT_MEMORY); */
|
||||
return False;
|
||||
|
||||
memset(a->repeat_type, NULL, sizeof(CSA_attribute));
|
||||
memset(a->repeat_type, 0, sizeof(CSA_attribute));
|
||||
|
||||
_DtCm_set_sint32_attrval(rfp->repeat_type,
|
||||
&a->repeat_type->value);
|
||||
|
@ -951,7 +951,7 @@ rfp_form_flags_to_appt(RFP *rfp, Dtcm_appointment *a, char *name, int *flagsP)
|
|||
/* return (CSA_E_INSUFFICIENT_MEMORY); */
|
||||
return False;
|
||||
|
||||
memset(a->repeat_type, NULL, sizeof(CSA_attribute));
|
||||
memset(a->repeat_type, 0, sizeof(CSA_attribute));
|
||||
|
||||
_DtCm_set_sint32_attrval(rfp->repeat_type,&a->repeat_type->value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue