Skip to content

Commit

Permalink
text: rename text_byte_get argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed May 3, 2017
1 parent 8b1dab5 commit 596e9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text.c
Original file line number Diff line number Diff line change
Expand Up @@ -1520,8 +1520,8 @@ bool text_iterator_char_prev(Iterator *it, char *c) {
return true;
}

bool text_byte_get(Text *txt, size_t pos, char *buf) {
return text_bytes_get(txt, pos, 1, buf);
bool text_byte_get(Text *txt, size_t pos, char *byte) {
return text_bytes_get(txt, pos, 1, byte);
}

size_t text_bytes_get(Text *txt, size_t pos, size_t len, char *buf) {
Expand Down

0 comments on commit 596e9ac

Please sign in to comment.