config: fix wording
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I41e3e89470fa8181d887de0584c965176a6a6964
This commit is contained in:
parent
3db813fcc2
commit
23527908c2
1 changed files with 4 additions and 4 deletions
|
|
@ -196,7 +196,7 @@ static int add_output_mapping(chroma_config_t *config, const char *output_name,
|
|||
return CHROMA_ERROR_MEMORY;
|
||||
}
|
||||
|
||||
// Validate string lengths to prevent buffer overflow
|
||||
// XXX: Validate string lengths to prevent buffer overflow
|
||||
size_t output_len = strlen(output_name);
|
||||
size_t path_len = strlen(image_path);
|
||||
|
||||
|
|
@ -419,9 +419,9 @@ static int parse_config_line(chroma_config_t *config, char *line,
|
|||
return CHROMA_OK;
|
||||
}
|
||||
|
||||
// Check for extended output configuration with properties
|
||||
// Format: output.DP-1.scale = fill
|
||||
// Format: output.DP-1.filter = linear
|
||||
// Check for extended output configuration with properties. Format:
|
||||
// output.DP-1.scale = fill
|
||||
// output.DP-1.filter = linear
|
||||
char *dot = strchr(output_name, '.');
|
||||
if (dot) {
|
||||
// This is an output property (scale or filter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue