Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Eric" == Eric Krohn <[EMAIL PROTECTED]> writes:
|
| Eric> I was hoping to get my wife to move a numbered book list from
| Eric> WordPerfect on Windows 95 to Applix or LyX on Linux. The
| Eric> Windows 95 box likes to hang on an all-too-frequent basis.
|
| Eric> Anyways, I loaded the lists into LyX using the Enumerate
| Eric> environment and was amused to see the numbers go 254, 255, 0, 1,
| Eric> .... Of course, the TeX output was just fine.
|
| Eric> Here's diffs against 1.0.3 to deal with the number wrapping. It
| Eric> is arguable whether the type should be short or int or long.
|
| Hello,
|
| This is a problem that has been known for some time (I changed it from
| char to unsigned char, which gave us 127 more items to play with :),
| but nobody took the time of checking whether in all the places where
| this counters are used, the data is never copied to a char variable
| (thereby losing part of it).
|
| If you think you could check that for us, I'd gladly accept to change
| this.
I think we should switch to using int right away.
That char types should never be used for these kind of things, and
short should only be used if you need it to be a short.
Let's use int.
Lgb