Fix bug where a NSDocument would appear unmodified after saving the

document, undoing a number of changes, and then making an equal number
of changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27219 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2008-12-06 13:24:00 +00:00
parent fe56e4959d
commit c476e3fa6d
3 changed files with 36 additions and 4 deletions

View file

@ -108,7 +108,9 @@ typedef enum _NSSaveOperationType {
struct __docFlags {
unsigned int in_close:1;
unsigned int has_undo_manager:1;
unsigned int RESERVED:30;
unsigned int permanently_modified:1;
unsigned int autosave_permanently_modified:1;
unsigned int RESERVED:28;
} _doc_flags;
void *_reserved1;
}