Fix format-overflow warnings in botl.c
This commit is contained in:
+4
-2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user