dtudcfonted: Resolve further coverity issues

This commit is contained in:
Peter Howkins
2018-03-30 22:09:47 +01:00
parent e507de959e
commit e195df4b50
20 changed files with 51 additions and 44 deletions

View File

@@ -137,8 +137,7 @@ String message;
};
static NButton BTN = NBUTTONS( buttons );
strcpy( bmsg, resource.mn_cpy_lost );
strcat( bmsg, message );
snprintf(bmsg, sizeof(bmsg), "%s%s", resource.mn_cpy_lost, message);
SetItemLabel(&BTN, 0, resource.l_ok);
SetItemLabel(&BTN, 1, resource.l_cancel);
PopupNotice( cpyPtnW, bmsg, D_WARNING, &BTN, False, resource.l_warning_title);