summaryrefslogtreecommitdiff
path: root/lib/unistr/u8-mbsnlen.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /lib/unistr/u8-mbsnlen.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'lib/unistr/u8-mbsnlen.c')
-rw-r--r--lib/unistr/u8-mbsnlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unistr/u8-mbsnlen.c b/lib/unistr/u8-mbsnlen.c
index 29af297ff2..c3de7f0c30 100644
--- a/lib/unistr/u8-mbsnlen.c
+++ b/lib/unistr/u8-mbsnlen.c
@@ -30,7 +30,7 @@ u8_mbsnlen (const uint8_t *s, size_t n)
{
int count = u8_mblen (s, n);
if (count <= 0)
- count = 1;
+ count = 1;
s += count;
n -= count;
characters++;