X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=string.c;h=dfcfa2cdf6eb776c63afdaec981aed55147a31b1;hp=21c674ec3753f64c9115556ca80bb3e751e42ed3;hb=e67dffc9b315ffd7757b6f6fff5c79b1c99388dd;hpb=36f38afb959f19490a38ba50949ba62e7c85c3af diff --git a/string.c b/string.c index 21c674ec..dfcfa2cd 100644 --- a/string.c +++ b/string.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2012 Andre Noll + * Copyright (C) 2004-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -8,7 +8,6 @@ #define _GNU_SOURCE -#include /* gettimeofday */ #include #include /* uname() */ @@ -1091,7 +1090,7 @@ int skip_cells(const char *s, size_t cells_to_skip, size_t *bytes_to_skip) * \param result The width of \a s is returned here. * * If not in UTF8-mode. this function is just a wrapper for strlen(3). - * Otherwise \s is treated as an UTF-8 string and its display width is + * Otherwise \a s is treated as an UTF-8 string and its display width is * computed. Note that this function may fail if the underlying call to * mbsrtowcs(3) fails, so the caller must check the return value. *