]> mj.ucw.cz Git - libucw.git/commitdiff
typo fixed
authorRobert Spalek <robert@ucw.cz>
Thu, 6 Sep 2001 15:20:46 +0000 (15:20 +0000)
committerRobert Spalek <robert@ucw.cz>
Thu, 6 Sep 2001 15:20:46 +0000 (15:20 +0000)
charset/utf8.c

index 5d9b3adda759a34197bf181d44a9842e92917263..eeabcb3f9da08b6ea244d1b85cf20f885d8e73cd 100644 (file)
@@ -38,5 +38,5 @@ utf8_to_ucs2(word *d, byte *s)
     else
       *d++ = *s++;
   *d = 0;
-  return d0 - d;
+  return d - d0;
 }