mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
call draw_dictChanged on load so draw can calc fonts immediately
This commit is contained in:
parent
181e880d8d
commit
4ffeada868
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,7 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
|
|||
game->comms = NULL;
|
||||
}
|
||||
#endif
|
||||
XP_ASSERT( !!dict );
|
||||
game->model = model_makeFromStream( MPPARM(mpool) stream, dict, util );
|
||||
|
||||
game->server = server_makeFromStream( MPPARM(mpool) stream,
|
||||
|
@ -209,6 +210,7 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
|
|||
gi->nPlayers );
|
||||
server_prefsChanged( game->server, cp );
|
||||
board_prefsChanged( game->board, cp );
|
||||
draw_dictChanged( draw, dict );
|
||||
success = XP_TRUE;
|
||||
} else {
|
||||
XP_LOGF( "%s: aborting; stream version too new!", __func__ );
|
||||
|
|
Loading…
Add table
Reference in a new issue