mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 12:23:02 +00: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…
Reference in a new issue