config: fix wording

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I41e3e89470fa8181d887de0584c965176a6a6964
This commit is contained in:
raf 2026-01-31 15:17:39 +03:00
commit 23527908c2
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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)