1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 89566

This commit is contained in:
Peter Howkins 2018-07-04 00:54:54 +01:00
parent 25e371dbe2
commit 1de8020c41

View file

@ -212,7 +212,7 @@ prompt_for_insert(Props *p) {
prompt_for_line(
catgets(DT_catd, 1, 199, "End (%s): "), "None", cm_end);
strcpy(cm_repeatstr, catgets(DT_catd, 1, 200, "One Time"));
snprintf(cm_repeatstr, sizeof(cm_repeatstr), "%s", catgets(DT_catd, 1, 200, "One Time"));
prompt_for_line(catgets(DT_catd, 1, 201,
"Repeat (%s): "), cm_repeatstr, cm_repeatstr);