mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
up stream version to include hintrect boolean
This commit is contained in:
parent
74df148d2a
commit
e80d4075e2
2 changed files with 6 additions and 0 deletions
|
@ -340,7 +340,11 @@ gi_readFromStream( MPFORMAL XWStreamCtxt* stream, XP_U16 strVersion,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
|
if ( strVersion >= CUR_STREAM_VERS ) {
|
||||||
gi->allowHintRect = stream_getBits( stream, 1 );
|
gi->allowHintRect = stream_getBits( stream, 1 );
|
||||||
|
} else {
|
||||||
|
gi->allowHintRect = XP_FALSE;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@ extern "C" {
|
||||||
|
|
||||||
#ifdef FEATURE_TRAY_EDIT
|
#ifdef FEATURE_TRAY_EDIT
|
||||||
# define CUR_STREAM_VERS 0x02
|
# define CUR_STREAM_VERS 0x02
|
||||||
|
#elif defined XWFEATURE_SEARCHLIMIT
|
||||||
|
# define CUR_STREAM_VERS 0x03
|
||||||
#else
|
#else
|
||||||
# define CUR_STREAM_VERS 0x01
|
# define CUR_STREAM_VERS 0x01
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue