mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -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 );
|
g_free ( option->mem );
|
||||||
option->mem = NULL;
|
option->mem = NULL;
|
||||||
}
|
}
|
||||||
*( option->value.str ) = g_strdup ( xrmValue );
|
*( option->value.str ) = g_strchomp ( g_strdup ( xrmValue ) );
|
||||||
|
|
||||||
// Memory
|
// Memory
|
||||||
( option )->mem = *( option->value.str );
|
( option )->mem = *( option->value.str );
|
||||||
|
|
Loading…
Add table
Reference in a new issue