update nearly all FSF copyright year lists to include 2009
[pspp] / lib / unistr / u8-mbsnlen.c
index 29af297ff27edcfaf94fcc58559f31f704e472d7..14606f514626853efc87b4bb57b9e640e2b6ca7c 100644 (file)
@@ -1,5 +1,5 @@
 /* Count characters in UTF-8 string.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2007.
 
    This program is free software: you can redistribute it and/or modify it
@@ -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++;