diff --git a/xwords4/linux/linuxdict.c b/xwords4/linux/linuxdict.c index 413397f11..d51821a5d 100644 --- a/xwords4/linux/linuxdict.c +++ b/xwords4/linux/linuxdict.c @@ -260,7 +260,7 @@ initFromDictFile( LinuxDictionaryCtxt* dctx, const char* fileName ) dctx->super.topEdge = NULL; } - dctx->super.name = copyString( MPPARM(dctx->super.mpool) fileName); + dctx->super.name = copyString( dctx->super.mpool, fileName); } fclose( dictF ); diff --git a/xwords4/linux/linuxmain.c b/xwords4/linux/linuxmain.c index 2bf093846..88d7c39a5 100644 --- a/xwords4/linux/linuxmain.c +++ b/xwords4/linux/linuxmain.c @@ -667,6 +667,8 @@ main( int argc, char** argv ) CommsConnType conType = COMMS_CONN_UNUSED; const char* btaddr = NULL; + XP_LOGF( "main started: pid = %d", getpid() ); + #ifdef DEBUG { int i; @@ -740,7 +742,7 @@ main( int argc, char** argv ) conType = COMMS_CONN_RELAY; break; case 'd': - mainParams.gi.dictName = copyString( MPPARM(mainParams.util->mpool) + mainParams.gi.dictName = copyString( mainParams.util->mpool, (XP_UCHAR*)optarg ); break; case 'e': @@ -768,7 +770,7 @@ main( int argc, char** argv ) mainParams.gi.players[index].isRobot = XP_FALSE; mainParams.gi.players[index].isLocal = XP_TRUE; mainParams.gi.players[index].name = - copyString(MPPARM(mainParams.util->mpool) (XP_UCHAR*)optarg); + copyString( mainParams.util->mpool, (XP_UCHAR*)optarg); break; case 'N': index = mainParams.gi.nPlayers++; @@ -788,7 +790,7 @@ main( int argc, char** argv ) mainParams.gi.players[index].isRobot = XP_TRUE; mainParams.gi.players[index].isLocal = XP_TRUE; mainParams.gi.players[index].name = - copyString(MPPARM(mainParams.util->mpool) (XP_UCHAR*)optarg); + copyString( mainParams.util->mpool, (XP_UCHAR*)optarg); break; case 's': isServer = XP_TRUE;