Dear Néstor,
> // This reads memory until it gets to the correct language.
> for (i=0; i>language; i++)
> {
> while (text[0] != 0)
> {
> text[0] = SerialReadPostIncr();
> }
> }
Did you mean `for (i=0; i < language; i++)' with i LESS THAN language
here?!?
I did not even try to run the code, but from a quick glance at the code I
do not quite understand the intention of this fragment. With i>language
and language being 0/1/2 as per I18N_xx, the loop will never be entered:
for (i=0; i>0/1/2; i++) { /* something */ }
Best regards,
Raphael
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user