From 23527908c28dc5cc0890411240419c1f5183db35 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 31 Jan 2026 15:17:39 +0300 Subject: [PATCH] config: fix wording Signed-off-by: NotAShelf Change-Id: I41e3e89470fa8181d887de0584c965176a6a6964 --- src/config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.c b/src/config.c index 9bae27c..3f713d3 100644 --- a/src/config.c +++ b/src/config.c @@ -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)