summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-15 13:12:43 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-15 13:12:43 +0100
commit238a34162a56ca625a87e16595a22b190c24db89 (patch)
tree34006330d875b82b89908f1b0e2bcda68e0a488e /source/xrmoptions.c
parent2eaffceada21810b44e4694f0b40bd2a4ab7868a (diff)
Try to fix crasher on mixing glib free and free.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 9549e92a..b119d9ec 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -495,15 +495,15 @@ void print_options ( void )
void print_help_msg ( const char *option, const char *type, const char*text, const char *def, int isatty )
{
- int l = 37 - strlen ( option )-strlen(type);
+ int l = 37 - strlen ( option ) - strlen ( type );
if ( isatty ) {
- printf ( "\t%s%s%s %s %-*c%s\n", color_bold, option, color_reset,type, l, ' ', text );
+ printf ( "\t%s%s%s %s %-*c%s\n", color_bold, option, color_reset, type, l, ' ', text );
if ( def != NULL ) {
printf ( "\t\t%s%s%s\n", color_italic, def, color_reset );
}
}
else{
- printf ( "\t%s %s %-*c%s\n", option, type,l, ' ', text );
+ printf ( "\t%s %s %-*c%s\n", option, type, l, ' ', text );
if ( def != NULL ) {
printf ( "\t\t%s\n", def );
}