Fix backward searching of one-byte expressions
commitbbc2e719d0fbb3ec2f4a778182e79eef871b727b
authorPetr Tesarik <petr@tesarici.cz>
Mon, 1 Oct 2012 10:50:54 +0000 (1 12:50 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Mon, 1 Oct 2012 17:01:32 +0000 (1 19:01 +0200)
treeb2841282728923e6dea5815dc58ff6d6153c1129
parent6adb1e6d98332db6bc0493adc28876979bc43bc5
Fix backward searching of one-byte expressions

An obvious bugfix. Or, find_bytestr_buf() has a slightly non-standard
meaning of buf and buflen: The buffer always starts at *buf and comprises
buflen bytes either forwards (positive buflen) or backwrads (negative).
libhed/file.c