-----BEGIN PGP SIGNED MESSAGE-----
On Sonntag, 8. Dezember 2002 20:34, Lars Gullik Bj�nnes wrote:
> Kornel Benko <[EMAIL PROTECTED]> writes:
...
>
> | > s.ref(0) == QChar(0)
> | > would look better to me.
> |
> | Yes. But it doesn't work. (I tried!)
>
> Then the question is: Why?
>
> ref does return QChar, right?
Yes, it does. Nevertheless the comparison did not work.
Dont know why.
> Btw, what does it signify that ref(0) is 0?
it is the unicode of the first char.
I was trying to get the unicode. But the value for latin-2 was constantly 0.
(Function const QChar *QString::unicode())
Later I found ref(), and used it, but with same result. So it was left there ...
...
> | So, next patch attached.
>
> Ok, will have a look again, but I will probably leave it to John to
> apply this.
Ok with me. Anyway, it builds on his patches.
Kornel
- --
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQCVAwUBPfOk7bewfbDGmeqhAQEa2AP+LJgdLxePgz3+srqQaWniYeh4PO/xrtXV
W4Qbo9c3swBuBSCLp0EI8QiVWFu/Jr08GruESbxLs2hANd4NTIZ4jaWvGv5VdiyN
XATN6t040cemffYrgQJfOJTaEyy3RBSG5xHTwvgt0RgJpT8n4+uut8xSlNCaAEd1
h6WObxyzTUA=
=Xqom
-----END PGP SIGNATURE-----