dtcm: Fix typo
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:07:15 +0000 (17:07 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:07:15 +0000 (17:07 +0100)
cde/programs/dtcm/dtcm/dssw.c

index ec9dac5f1ceddc99527065df4331b3443652b4a3..f2ce5e6412de41a6d3691117061d67cdee44a88a 100644 (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 {
-                       snprintf(dssw->start_val.val, sizefof(dssw->start_val.val), "%s", buf);
+                       snprintf(dssw->start_val.val, sizeof(dssw->start_val.val), "%s", buf);
                        dssw->start_val.block = TIME_AM;
                }
        }