diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-09 04:37:02 +0200 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-09 04:37:02 +0200 |
commit | 0f49200c9a72f7d8144eb663dee2c684d52ef42a (patch) | |
tree | f0587f4a4ee07b4e96818cf28cb11c6ffe30727a /src/buffer.c | |
parent | e65752bb3251f9a308fd4f9cb3b294c4f7d90783 (diff) | |
download | libgit2-0f49200c9a72f7d8144eb663dee2c684d52ef42a.tar.gz |
msvc: Do not use `isspace`
Locale-aware bullshit bitting my ass again yo
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0785b5399..2ecb088f8 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -400,7 +400,7 @@ int git_buf_join( void git_buf_rtrim(git_buf *buf) { while (buf->size > 0) { - if (!isspace(buf->ptr[buf->size - 1])) + if (!git__isspace(buf->ptr[buf->size - 1])) break; buf->size--; |