summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-08 23:49:42 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-08 23:49:42 +0200
commit05506d7dc228f83d3ad0fccc831c493aec7f62be (patch)
tree127d4dc3c6c7eb57ce6c56cf04cae5b697078012 /src
parentf3be47f1e03b5970281527d95c7ee26de2fc6dde (diff)
utf8: minor simplification
Diffstat (limited to 'src')
-rw-r--r--src/pulse/utf8.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pulse/utf8.c b/src/pulse/utf8.c
index 9dddf4a3..fe7bcd26 100644
--- a/src/pulse/utf8.c
+++ b/src/pulse/utf8.c
@@ -148,12 +148,9 @@ ONE_REMAINING:
if (o) {
memcpy(o, last, (size_t) size);
- o += size - 1;
+ o += size;
}
- if (o)
- o++;
-
continue;
error: