A Photon Bug with Menu Items

Hi there, I just found a bug in photon (Photon 1.13 or 1.14 I’m not sure,
over qnx 425D)

Here’s how to reproduce it:
Create a menu,

Add a new item and enter a string for the item’s text with a
double-quote in it, ex: Move into “waste-basket”.

When you try to compile, you get a “Too Many Initializers” error because
the quotes that you just entered are not converted to '" and they conflict
with the rest of the generated string.

It should not be very difficult to escape such caracteres when generating
the code.


marclupien@hotmail.com

Marc Lupien <marclupien@hotmail.com> wrote:

Hi there, I just found a bug in photon (Photon 1.13 or 1.14 I’m not sure,
over qnx 425D)

Here’s how to reproduce it:
Create a menu,

Add a new item and enter a string for the item’s text with a
double-quote in it, ex: Move into “waste-basket”.

When you try to compile, you get a “Too Many Initializers” error because
the quotes that you just entered are not converted to '" and they conflict
with the rest of the generated string.

It should not be very difficult to escape such caracteres when generating
the code.

Thanks, I’ll add it to the bug list.

\

Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.