1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-cf
1999-12-29 07:47:39 +00:00

20 lines
833 B
Plaintext

--- src/bin/ibuild/ibglue.c.orig Wed Dec 29 00:01:29 1999
+++ src/bin/ibuild/ibglue.c Wed Dec 29 00:02:33 1999
@@ -271,14 +271,14 @@
strcpy(VGlueClass, coreclass);
strcat(VGlueClass, "_VGlue");
- boolean export = icomp->GetMemberNameVar()->GetExport();
+ boolean export_ = icomp->GetMemberNameVar()->GetExport();
const char* classname = icomp->GetClassNameVar()->GetName();
if (icomp->GetClassNameVar()->IsSubclass()) {
BeginInstantiate(out);
out << "(";
} else {
- if (export && !_emitMain) {
+ if (export_ && !_emitMain) {
out << " " << mname << " = new ";
} else {
out << " " << classname << "* ";