From 8ae8888947d83a53f87cb7050d31fd0f766eb48d Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 13 Nov 1996 15:48:53 +0000 Subject: fix the Iterator scope problem (however, there is an undefined symbol problem, seems unrelated) therefore bin/ibuild is still broken --- x11-toolkits/iv/files/patch-aa | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/x11-toolkits/iv/files/patch-aa b/x11-toolkits/iv/files/patch-aa index 3f053c29360..ae834f128cf 100644 --- a/x11-toolkits/iv/files/patch-aa +++ b/x11-toolkits/iv/files/patch-aa @@ -264,3 +264,26 @@ #define DECLARE1(f,t1,a1) f(t1 a1) #define DECLARE2(f,t1,a1,t2,a2) f(t1 a1, t2 a2) #define DECLARE3(f,t1,a1,t2,a2,t3,a3) f(t1 a1, t2 a2, t3 a3) +*** src/bin/ibuild/ibcmds.c.old Fri Dec 11 20:33:25 1992 +--- src/bin/ibuild/ibcmds.c Wed Nov 13 06:38:33 1996 +*************** +*** 2407,2415 **** + EditorInfo* installed = (EditorInfo*) toolsdialog.Installed(); + EditorInfo* removed = (EditorInfo*) toolsdialog.Removed(); + +! Iterator i; +! for (unidraw->First(i); !unidraw->Done(i); unidraw->Next(i)) { +! IBEditor* iEd = (IBEditor*) unidraw->GetEditor(i); + ToolPanel* itoolpanel = iEd->GetToolPanel(); + + for (int i = 0; i < installed->Count(); i++) { +--- 2407,2415 ---- + EditorInfo* installed = (EditorInfo*) toolsdialog.Installed(); + EditorInfo* removed = (EditorInfo*) toolsdialog.Removed(); + +! Iterator ii; +! for (unidraw->First(ii); !unidraw->Done(ii); unidraw->Next(ii)) { +! IBEditor* iEd = (IBEditor*) unidraw->GetEditor(ii); + ToolPanel* itoolpanel = iEd->GetToolPanel(); + + for (int i = 0; i < installed->Count(); i++) { -- cgit