/* Counting the multibyte characters in a string.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2013 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
count = 0;
for (mbi_init (iter, string, len); mbi_avail (iter); mbi_advance (iter))
- count++;
+ count++;
return count;
}