diff options
author | Clombrong <cromblong@egregore.fun> | 2025-07-01 21:32:20 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-07-26 21:55:50 +0200 |
commit | 2e2f475c5c631b61d061e7a308826214770fef47 (patch) | |
tree | 06063ef9192d3eb4476a07ea9e5f64e42a278701 | |
parent | 536c401f51ba8d58cb16858c42869069e2e52598 (diff) |
fix(jid): uchars_of_string starts parsing string to 0 now...
-rw-r--r-- | lib/jid.ml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ let uchars_of_string s : uchars = let k = utf_decode_length c in let u = utf_decode_uchar c in loop (u :: acc) (i + k) - in loop [] (String.length s) + in loop [] 0 let string_of_uchars (u : uchars) = let buf = Buffer.create (4 * List.length u) in |