diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-08-14 06:02:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-08-14 06:02:46 -0700 |
commit | 15a87accd4ec2cf79712863a47b88da515584477 (patch) | |
tree | 9e64339e575e379078f014cb14a756a232ede86c | |
parent | 55292314bfeb49dde06568affbd3457f1aa13374 (diff) | |
download | txr-15a87accd4ec2cf79712863a47b88da515584477.tar.gz txr-15a87accd4ec2cf79712863a47b88da515584477.tar.bz2 txr-15a87accd4ec2cf79712863a47b88da515584477.zip |
bugfix: seek-stream :from-end not working.
* stream.h (enum strm_whence): Fix strm_end and strm_start
being duplicate values; strm_end must map to SEEK_END.
-rw-r--r-- | stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ enum strm_whence { strm_start = SEEK_SET, strm_cur = SEEK_CUR, - strm_end = SEEK_SET + strm_end = SEEK_END }; enum indent_mode { |