diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-12-10 20:57:43 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-12-10 20:57:43 +0100 |
commit | bae542791336929366d711fb3bea0fcc6f0e82f3 (patch) | |
tree | f3b982745f0fb016e4d343f853102d466aee7e01 /source/xrmoptions.c | |
parent | 8ed31cab7e0bd4e68b504d202e0bed951ee5c182 (diff) |
Add option to output to specific file.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r-- | source/xrmoptions.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 2d3b5dd2..5cb3f588 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -513,18 +513,18 @@ void print_help_msg ( const char *option, const char *type, const char*text, con void print_xresources_theme ( void ) { - if( config.color_enabled != TRUE ) { - printf("! Dumping theme only works for the extended color scheme.\n"); + if ( config.color_enabled != TRUE ) { + printf ( "! Dumping theme only works for the extended color scheme.\n" ); return; } - printf("! ------------------------------------------------------------------------------\n"); - printf("! ROFI Color theme\n"); - printf("! ------------------------------------------------------------------------------\n"); + printf ( "! ------------------------------------------------------------------------------\n" ); + printf ( "! ROFI Color theme\n" ); + printf ( "! ------------------------------------------------------------------------------\n" ); const char * namePrefix = "rofi"; unsigned int entries = sizeof ( xrmOptions ) / sizeof ( *xrmOptions ); for ( unsigned int i = 0; i < entries; ++i ) { - if ( strncmp(xrmOptions[i].name, "color-",6) == 0){ - xresource_dump_entry(namePrefix, &xrmOptions[i]); + if ( strncmp ( xrmOptions[i].name, "color-", 6 ) == 0 ) { + xresource_dump_entry ( namePrefix, &xrmOptions[i] ); } } } |