Fixed small annoyonce that was there for long;

New objects were not created with correct 'ipowin' value, to denote the
default ipo to show. That caused sometimes wrong display with weird empty
menu button in header.
This commit is contained in:
2004-07-26 22:46:56 +00:00
parent 73f1da749b
commit d0da285547
3 changed files with 9 additions and 2 deletions

View File

@@ -647,7 +647,7 @@ Object *add_object(int type)
ob->upflag= OB_POSZ;
}
ob->ipoflag = OB_OFFS_OB+OB_OFFS_PARENT;
ob->ipowin= ID_OB; /* the ipowin shown */
ob->dupon= 1; ob->dupoff= 0;
ob->dupsta= 1; ob->dupend= 100;