summaryrefslogtreecommitdiffstats
path: root/txr.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-09 22:41:07 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-10-09 22:41:07 -0700
commit4c7f6f212eca77c2aae3d4bbc9b6be7f683cf260 (patch)
tree2dc0c663922f14ffca2555c882e10b4fc7a8815e /txr.h
parentb9a153ac4e4690112877e4817b840ebdc7427c5a (diff)
downloadtxr-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 'txr.h')
0 files changed, 0 insertions, 0 deletions