diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-09 22:41:07 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-09 22:41:07 -0700 |
commit | 4c7f6f212eca77c2aae3d4bbc9b6be7f683cf260 (patch) | |
tree | 2dc0c663922f14ffca2555c882e10b4fc7a8815e /utf8.c | |
parent | b9a153ac4e4690112877e4817b840ebdc7427c5a (diff) | |
download | txr-4c7f6f212eca77c2aae3d4bbc9b6be7f683cf260.tar.gz txr-4c7f6f212eca77c2aae3d4bbc9b6be7f683cf260.tar.bz2 txr-4c7f6f212eca77c2aae3d4bbc9b6be7f683cf260.zip |
* lib.h (wli, lit_noex): We need null characters on both ends
so that this hack is correct for null strings. When recovering
the wchar_t pointer from a null literal object, we wil increment
unconditionally, since it always points to a null character.
We end up skipping past null terminator #1, but safely landing on #2.
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions