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:
parent
71bbe17321
commit
8e9d0e5282
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue