projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c67ee
)
dtcm: Fix typo
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:07:15 +0000
(17:07 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:07:15 +0000
(17:07 +0100)
cde/programs/dtcm/dtcm/dssw.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/dssw.c
b/cde/programs/dtcm/dtcm/dssw.c
index ec9dac5f1ceddc99527065df4331b3443652b4a3..f2ce5e6412de41a6d3691117061d67cdee44a88a 100644
(file)
--- a/
cde/programs/dtcm/dtcm/dssw.c
+++ b/
cde/programs/dtcm/dtcm/dssw.c
@@
-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 {
- snprintf(dssw->start_val.val, size
f
of(dssw->start_val.val), "%s", buf);
+ snprintf(dssw->start_val.val, sizeof(dssw->start_val.val), "%s", buf);
dssw->start_val.block = TIME_AM;
}
}