summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-01-12 15:04:13 +0900
committerGitHub <[email protected]>2017-01-12 15:04:13 +0900
commita69d92e8197dc10b29387fd1e1272db13bdca0f5 (patch)
tree472aaa1353c80e05d1153a19cb4f2057b3d309f1
parentdb1bd078bedcc33bfd3ca4c45f46bc553786bfd8 (diff)
parentaf4f6e8dc6734a40133090df16c10e6099b67abc (diff)
downloadmruby-a69d92e8197dc10b29387fd1e1272db13bdca0f5.tar.gz
mruby-a69d92e8197dc10b29387fd1e1272db13bdca0f5.zip
Merge pull request #3395 from hhc0null/fix-typo
Fix a typo in string.h.
-rw-r--r--include/mruby/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h
index 9ccf8f187..5a5a6ffd2 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -68,7 +68,7 @@ struct RString {
#define mrb_str_ptr(s) ((struct RString*)(mrb_ptr(s)))
#define RSTRING(s) mrb_str_ptr(s)
#define RSTRING_PTR(s) RSTR_PTR(RSTRING(s))
-#define RSTRING_EMBED_LEN(s) RSTR_ENBED_LEN(RSTRING(s))
+#define RSTRING_EMBED_LEN(s) RSTR_EMBED_LEN(RSTRING(s))
#define RSTRING_LEN(s) RSTR_LEN(RSTRING(s))
#define RSTRING_CAPA(s) RSTR_CAPA(RSTRING(s))
#define RSTRING_END(s) (RSTRING_PTR(s) + RSTRING_LEN(s))