up stream version to include hintrect boolean

This commit is contained in:
ehouse 2004-06-22 06:29:19 +00:00
parent 74df148d2a
commit e80d4075e2
2 changed files with 6 additions and 0 deletions

View file

@ -340,7 +340,11 @@ gi_readFromStream( MPFORMAL XWStreamCtxt* stream, XP_U16 strVersion,
}
#endif
#ifdef XWFEATURE_SEARCHLIMIT
if ( strVersion >= CUR_STREAM_VERS ) {
gi->allowHintRect = stream_getBits( stream, 1 );
} else {
gi->allowHintRect = XP_FALSE;
}
#endif

View file

@ -32,6 +32,8 @@ extern "C" {
#ifdef FEATURE_TRAY_EDIT
# define CUR_STREAM_VERS 0x02
#elif defined XWFEATURE_SEARCHLIMIT
# define CUR_STREAM_VERS 0x03
#else
# define CUR_STREAM_VERS 0x01
#endif