summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-09 04:37:02 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-09 04:37:02 +0200
commit0f49200c9a72f7d8144eb663dee2c684d52ef42a (patch)
treef0587f4a4ee07b4e96818cf28cb11c6ffe30727a /src/message.c
parente65752bb3251f9a308fd4f9cb3b294c4f7d90783 (diff)
downloadlibgit2-0f49200c9a72f7d8144eb663dee2c684d52ef42a.tar.gz
msvc: Do not use `isspace`
Locale-aware bullshit bitting my ass again yo
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 56efd487b..aa0220fd0 100644
--- a/src/message.c
+++ b/src/message.c
@@ -12,7 +12,7 @@ static size_t line_length_without_trailing_spaces(const char *line, size_t len)
{
while (len) {
unsigned char c = line[len - 1];
- if (!isspace(c))
+ if (!git__isspace(c))
break;
len--;
}