Return number of bytes read in readrune()

Could be useful in some cases...
This commit is contained in:
FRIGN 2015-02-01 03:43:54 +01:00
parent 8ab096d2a4
commit f2e6af7350

View File

@ -42,5 +42,5 @@ readrune(const char *file, FILE *fp, Rune *r)
break;
}
}
return 1;
return i;
}