mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
Remove trailing whitespace from string options.
This commit is contained in:
parent
84f7ec2f0e
commit
84baa94bfc
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ static void config_parser_set ( XrmOption *option, char *xrmValue, enum ConfigSo
|
|||
g_free ( option->mem );
|
||||
option->mem = NULL;
|
||||
}
|
||||
*( option->value.str ) = g_strdup ( xrmValue );
|
||||
*( option->value.str ) = g_strchomp ( g_strdup ( xrmValue ) );
|
||||
|
||||
// Memory
|
||||
( option )->mem = *( option->value.str );
|
||||
|
|
Loading…
Add table
Reference in a new issue