From c952ebd8e6403f76ee48ec9e7a7b41111c2d95d0 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Fri, 30 Sep 2011 06:29:14 -0700 Subject: [PATCH] cleanup --- xwords4/common/strutils.h | 2 +- xwords4/linux/gtkmain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/common/strutils.h b/xwords4/common/strutils.h index b91d6bbc5..9fa036342 100644 --- a/xwords4/common/strutils.h +++ b/xwords4/common/strutils.h @@ -92,7 +92,7 @@ XP_Bool smsToBin( XP_U8* out, XP_U16* outlen, const XP_UCHAR* in, XP_U16 inlen ) #endif #ifdef DEBUG -void log_hex( const XP_U8*memp, XP_U16 len, const char* tag ); +void log_hex( const XP_U8* memp, XP_U16 len, const char* tag ); # define LOG_HEX(m,l,t) log_hex((const XP_U8*)(m),(l),(t)) #else # define LOG_HEX(m,l,t) diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index 213401fd2..4acc1ac54 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -2344,7 +2344,7 @@ gtkmain( LaunchParams* params, int argc, char *argv[] ) ); if ( !!params->pipe && !!params->fileName ) { - read_pipe_then_close( &globals.cGlobals ); + read_pipe_then_close( &globals.cGlobals, NULL ); } else { gtk_widget_show( window );