← Back to team overview

cuneiform team mailing list archive

Re: rfrmt/sources/main/frmtallignment.cpp: 676

 

On Wed, Dec 31, 2008 at 5:51 PM, Steven Van Ingelgem
<steven@xxxxxxxxxxxxxx> wrote:

> pRtfString->m_FirstChar=='—'
>
> This comparison is always false because m_FirstChar is a BYTE, but that
> character is > 255.
>
> Is it safe to say that here "-" is needed? It looks nearly the same when I
> type it in my IDE.

Do you get a warning from the compiler? Because when I look at the
file with a hex editor, the value of the byte is 151.



References