dtcm/dssw.c: fix typo
authorJon Trulson <jon@radscan.com>
Tue, 3 Apr 2018 00:43:14 +0000 (18:43 -0600)
committerJon Trulson <jon@radscan.com>
Tue, 3 Apr 2018 00:43:14 +0000 (18:43 -0600)
cde/programs/dtcm/dtcm/dssw.c

index 61d637a681f79b2ab85fe001a5b2d06c3c839023..45c7ec6fa95201245d74e57642c298c4f3ed0cf2 100644 (file)
@@ -945,7 +945,7 @@ load_dssw_times(DSSW *dssw, Tick start, Tick stop, Boolean set_no_time) {
                        dssw->stop_val.block = (buf[5] == 'a') ?
                                TIME_AM : TIME_PM;
                } else {
-                        snprinf(dssw->stop_val.val, START_STOP_LEN, "%s", buf);
+                        snprintf(dssw->stop_val.val, START_STOP_LEN, "%s", buf);
                        dssw->stop_val.block = TIME_AM;
                }
        }