1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 88672

This commit is contained in:
Peter Howkins 2018-07-13 16:36:56 +01:00
parent 71bbe17321
commit 8e9d0e5282

View file

@ -933,7 +933,7 @@ load_dssw_times(DSSW *dssw, Tick start, Tick stop, Boolean set_no_time) {
dssw->start_val.block = (buf[5] == 'a') ?
TIME_AM : TIME_PM;
} else {
strcpy(dssw->start_val.val, buf);
snprintf(dssw->start_val.val, sizefof(dssw->start_val.val), "%s", buf);
dssw->start_val.block = TIME_AM;
}
}