summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2020-12-13 17:26:24 +1000
committerJohn Bampton <[email protected]>2020-12-13 18:38:22 +1000
commit940dec5e7df1c4c7ec131073bd364ddd59d4b48c (patch)
tree77b0097e93d105368890ab0611801225e72f7ec6 /src/string.c
parent116e128b1a103e2fb246cc9d53b82246b24dbd40 (diff)
downloadmruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.tar.gz
mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.zip
Fix spelling
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index cf71914b3..4d09c7eab 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2997,7 +2997,7 @@ mrb_float_read(const char *string, char **endPtr)
int c;
int exp = 0; /* Exponent read from "EX" field. */
int fracExp = 0; /* Exponent that derives from the fractional
- * part. Under normal circumstatnces, it is
+ * part. Under normal circumstances, it is
* the negative of the number of digits in F.
* However, if I is very long, the last digits
* of I get dropped (otherwise a long I with a