mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
when version check fails, log the version numbers
This commit is contained in:
parent
d33681770f
commit
190ce42b0e
1 changed files with 2 additions and 1 deletions
|
@ -227,7 +227,8 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
|
|||
XP_DEBUGF( "%s: strVersion = 0x%x", __func__, (XP_U16)strVersion );
|
||||
|
||||
if ( strVersion > CUR_STREAM_VERS ) {
|
||||
XP_LOGF( "%s: aborting; stream version too new!", __func__ );
|
||||
XP_LOGF( "%s: aborting; stream version too new (%d > %d)!", __func__,
|
||||
strVersion, CUR_STREAM_VERS );
|
||||
} else {
|
||||
do { /* do..while so can break */
|
||||
stream_setVersion( stream, strVersion );
|
||||
|
|
Loading…
Reference in a new issue