1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

Print comment with each option.

This commit is contained in:
Dave Davenport 2015-10-21 09:20:07 +02:00
parent 0d7ab111f9
commit bc7a89c646

View file

@ -336,6 +336,7 @@ void config_xresource_free ( void )
static void xresource_dump_entry ( const char *namePrefix, XrmOption *option ) static void xresource_dump_entry ( const char *namePrefix, XrmOption *option )
{ {
printf ( "! %s\n", option->comment );
printf ( "%s.%s: %*s", namePrefix, option->name, printf ( "%s.%s: %*s", namePrefix, option->name,
(int) ( 30 - strlen ( option->name ) ), "" ); (int) ( 30 - strlen ( option->name ) ), "" );
switch ( option->type ) switch ( option->type )