diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1996-11-18 10:28:48 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1996-11-18 10:28:48 +0000 |
commit | 51ef374074f9507f17c0beb4ad90fdbda58ed982 (patch) | |
tree | f3d3a8a656cde61992f204cc8a3894e8727dd590 | |
parent | bd2c32b428b7250483ca1ba580a9c894ec1e7de6 (diff) |
Typo dans Char.escaped
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | stdlib/char.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/char.ml b/stdlib/char.ml index 37062dcb4..f6a46a0ae 100644 --- a/stdlib/char.ml +++ b/stdlib/char.ml @@ -33,7 +33,7 @@ let escaped = function | '\t' -> "\\t" | c -> if is_printable c then begin let s = string_create 1 in - string_unsafe_set s 1 c; + string_unsafe_set s 0 c; s end else begin let n = code c in |