sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit f2e6af73507db3b5ca42de10658b605ee25a1923
parent 8ab096d2a4213d9676f9531474afda0c73a7c04a
Author: FRIGN <dev@frign.de>
Date:   Sun,  1 Feb 2015 03:43:54 +0100

Return number of bytes read in readrune()

Could be useful in some cases...

Diffstat:
Mlibutf/readrune.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libutf/readrune.c b/libutf/readrune.c @@ -42,5 +42,5 @@ readrune(const char *file, FILE *fp, Rune *r) break; } } - return 1; + return i; }