mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 89423
This commit is contained in:
parent
199bb761af
commit
7490caee7c
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ get_dssw_times(DSSW *dssw) {
|
|||
XmToggleButtonGetState(dssw->start_am) ? TIME_AM : TIME_PM;
|
||||
|
||||
str = XmTextGetString(dssw->stop_text);
|
||||
strcpy(dssw->stop_val.val, str);
|
||||
snprintf(dssw->stop_val.val, sizeof(dssw->stop_val.val), "%s", str);
|
||||
XtFree(str);
|
||||
dssw->stop_val.block =
|
||||
XmToggleButtonGetState(dssw->stop_am) ? TIME_AM : TIME_PM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue