Fix format-overflow warnings in botl.c

This commit is contained in:
Patric Mueller
2021-07-16 18:04:28 +02:00
parent e9c813b6ba
commit 71084bbf61
+4 -2
View File
@@ -3603,9 +3603,11 @@ choose_value:
goto choose_field;
return FALSE;
}
Sprintf(colorqry, "Choose a color for conditions %s:",
Snprintf(colorqry, sizeof(colorqry),
"Choose a color for conditions %s:",
conditionbitmask2str(cond));
Sprintf(attrqry, "Choose attribute for conditions %s:",
Snprintf(attrqry, sizeof(attrqry),
"Choose attribute for conditions %s:",
conditionbitmask2str(cond));
} else if (behavior == BL_TH_TEXTMATCH) {
char qry_buf[BUFSZ];