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-ch

21 lines
892 B
Plaintext
Raw Normal View History

--- src/bin/ibuild/ibslider.c.org Tue Jun 9 04:44:50 1992
+++ src/bin/ibuild/ibslider.c Sun Jan 23 20:20:51 2000
@@ -416,7 +416,7 @@
strcpy(SliderClass, coreclass);
strcat(SliderClass, "_Slider");
- boolean export = icomp->GetMemberNameVar()->GetExport();
+ boolean exportval = icomp->GetMemberNameVar()->GetExport();
const char* classname = icomp->GetClassNameVar()->GetName();
int w = icomp->GetCanvasVar()->Width();
@@ -426,7 +426,7 @@
BeginInstantiate(out);
out << "(";
} else {
- if (export && !_emitMain) {
+ if (exportval && !_emitMain) {
out << " " << mname << " = new " << SliderClass;
out << "(";
} else {