I did fix the problem, however from what I understand the error only
refers to the case when two or more parameters _of_the_same_function_
bear the same name.

So while that did happen at line 282 in chmfile.h, just as the error
message said (there were two parameters confusingly called "toBuild" in
the GetItem() function), I think the other changes in your patch are
irrelevant.

Here you've just renamed a parameter (that obviously did not have the
same name as any other parameter to this function since the function
only takes one parameter):

-       bool GetIndex(CHMListCtrl* toBuild);
+       bool GetIndex(CHMListCtrl* toBuild2);

Similar problem here:

-       bool BinaryIndex(CHMListCtrl* toBuild, const wxCSConv& cv);
+       bool BinaryIndex(CHMListCtrl* toBuild2, const wxCSConv& cv);

I don't see how these changes would apply for this particular issue.

Anyway, my changes have been submitted to CVS.
Thanks for the bug report.

Kartik Mistry wrote:
> tags 455317 patch
> stop
> 
> Hi,
> 
> Here is patch to fix this bug. Tagged bug accordingly. Please include
> it in next release of xchm.
> 
> Thanks!
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to