1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/japanese/iv/files/patch-ch
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

21 lines
892 B
Plaintext

--- src/bin/ibuild/ibslider.c.org Tue Jun 9 04:44:50 1992
+++ src/bin/ibuild/ibslider.c Wed Jan 5 22:47:49 2000
@@ -416,7 +416,7 @@
strcpy(SliderClass, coreclass);
strcat(SliderClass, "_Slider");
- boolean export = icomp->GetMemberNameVar()->GetExport();
+ boolean getexport = 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 (getexport && !_emitMain) {
out << " " << mname << " = new " << SliderClass;
out << "(";
} else {