diff options
Diffstat (limited to '')
| -rw-r--r-- | lobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -385,7 +385,7 @@ size_t luaO_str2num (const char *s, TValue *o) { | |||
| 385 | int luaO_utf8esc (char *buff, l_uint32 x) { | 385 | int luaO_utf8esc (char *buff, l_uint32 x) { |
| 386 | int n = 1; /* number of bytes put in buffer (backwards) */ | 386 | int n = 1; /* number of bytes put in buffer (backwards) */ |
| 387 | lua_assert(x <= 0x7FFFFFFFu); | 387 | lua_assert(x <= 0x7FFFFFFFu); |
| 388 | if (x < 0x80) /* ascii? */ | 388 | if (x < 0x80) /* ASCII? */ |
| 389 | buff[UTF8BUFFSZ - 1] = cast_char(x); | 389 | buff[UTF8BUFFSZ - 1] = cast_char(x); |
| 390 | else { /* need continuation bytes */ | 390 | else { /* need continuation bytes */ |
| 391 | unsigned int mfb = 0x3f; /* maximum that fits in first byte */ | 391 | unsigned int mfb = 0x3f; /* maximum that fits in first byte */ |
