# Small correction in sample code

**URL:** <https://www.ruby-forum.com/t/small-correction-in-sample-code/206715>\
**Category:** wxRuby\
**Created:** [May 8, 2011, 7:50am UTC](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715 "2011-05-08T07:50:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [May 8, 2011, 7:50am UTC](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715/1 "2011-05-08T07:50:08Z")

</div>

After some of our members, helped me understand the ampersand problem, I  
realized that there is a small error  
in the menu list. I fixed it in the attached file. The change is at  
line  
769. There were two instances of &c being  
inside of strings. After I changed the second occurance to &d the code  
worked as described by rabbit.  
I marked the line with #–&d change.

I do not know where to send any upgrades that I may find. If this is  
not  
the place, please tell me.

---

<div class="post-metadata">

**Author:** ![ann\_m](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@ann\_m](https://www.ruby-forum.com/u/ann_m)\
**Post date:** [May 15, 2011, 11:02pm UTC](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715/2 "2011-05-15T23:02:19Z")

</div>

Ann

On 08/05/11 06:35, Ann M. wrote:

> After some of our members, helped me understand the ampersand problem,  
> I realized that there is a small error  
> in the menu list. I fixed it in the attached file. The change is at  
> line 769. There were two instances of &c being  
> inside of strings. After I changed the second occurance to &d the  
> code worked as described by rabbit.  
> I marked the line with #–&d change.

Thank you for spotting this and sending in the change. I have committed  
it to Subversion repository (SVN:2123)

cheers  
alex
