blob: 3d13327a55c123d9f03f702077bb564fe9a2a655 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Fix a simple typo when building with debug turned on.
http://bugs.gentoo.org/show_bug.cgi?id=86339
--- src/chars.c
+++ src/chars.c
@@ -455,7 +455,7 @@
{
size_t pos_prev = pos;
- assert(str != NULL && pos <= strlen(buf));
+ assert(buf != NULL && pos <= strlen(buf));
/* There is no library function to move backward one multibyte
* character. Here is the naive, O(pos) way to do it. */
|