blob: 97972e5fa6052510b2169a3eb6dc98089f6047ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- src/bin/ibuild/ibmenu.c.org Wed Sep 9 07:34:15 1992
+++ src/bin/ibuild/ibmenu.c Wed Jan 5 22:45:28 2000
@@ -403,7 +403,7 @@
const char* proc = menuItem->GetTrackNameVar()->GetName();
const char* text = menuItem->GetMenuItemGraphic()->GetText();
- boolean export = icomp->GetMemberNameVar()->GetExport();
+ boolean getexport = icomp->GetMemberNameVar()->GetExport();
Shape* shape = icomp->GetShapeVar()->GetShape();
if (icomp->GetClassNameVar()->IsSubclass()) {
@@ -411,7 +411,7 @@
out << "(";
} else {
- if (export && !_emitMain) {
+ if (getexport && !_emitMain) {
out << " " << mname << " = ";
out << "new " << MenuClass;
} else {
@@ -431,7 +431,7 @@
EndInstantiate(out);
if (!_emitMain && proc != nil && *proc != '\0') {
- if (!export || icomp->GetClassNameVar()->IsSubclass()) {
+ if (!getexport || icomp->GetClassNameVar()->IsSubclass()) {
out << " " << mname << "->SetCoreClass(this);\n";
out <<" "<< mname <<"->SetCoreFunc("<< "&" << coreclass;
out << "::" << proc << ");\n";
|