mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
add cur dir to empty dict search path
This commit is contained in:
parent
b4ef9ced87
commit
9ad8ad601c
1 changed files with 5 additions and 0 deletions
|
@ -2336,6 +2336,11 @@ main( int argc, char** argv )
|
||||||
XP_ASSERT( mainParams.pgi.nPlayers == mainParams.nLocalPlayers
|
XP_ASSERT( mainParams.pgi.nPlayers == mainParams.nLocalPlayers
|
||||||
+ mainParams.info.serverInfo.nRemotePlayers );
|
+ mainParams.info.serverInfo.nRemotePlayers );
|
||||||
|
|
||||||
|
/* add cur dir if dict search dir path is empty */
|
||||||
|
if ( !mainParams.dictDirs ) {
|
||||||
|
mainParams.dictDirs = g_slist_append( mainParams.dictDirs, "./" );
|
||||||
|
}
|
||||||
|
|
||||||
if ( isServer ) {
|
if ( isServer ) {
|
||||||
if ( mainParams.info.serverInfo.nRemotePlayers == 0 ) {
|
if ( mainParams.info.serverInfo.nRemotePlayers == 0 ) {
|
||||||
mainParams.pgi.serverRole = SERVER_STANDALONE;
|
mainParams.pgi.serverRole = SERVER_STANDALONE;
|
||||||
|
|
Loading…
Reference in a new issue