diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 15:50:20 +0200 |
|---|---|---|
| committer | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 15:50:20 +0200 |
| commit | 818e129043c73930aca0d223db62837ee921bb2a (patch) | |
| tree | 1978e1ff1d971dc6d925920588bfb6a7859953a9 /lutf8lib.c | |
| parent | aeb072066f799c87527c81b19919dfd3b55bc373 (diff) | |
| download | lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.tar.gz lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.tar.bz2 lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.zip | |
Update backports to Lua 5.3.4.
Diffstat (limited to 'lutf8lib.c')
| -rw-r--r-- | lutf8lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lutf8lib.c,v 1.15 2015/03/28 19:16:55 roberto Exp $ | 2 | ** $Id: lutf8lib.c,v 1.16 2016/12/22 13:08:50 roberto Exp $ |
| 3 | ** Standard library for UTF-8 manipulation | 3 | ** Standard library for UTF-8 manipulation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -194,7 +194,7 @@ static int byteoffset (lua_State *L) { | |||
| 194 | lua_pushinteger(L, posi + 1); | 194 | lua_pushinteger(L, posi + 1); |
| 195 | else /* no such character */ | 195 | else /* no such character */ |
| 196 | lua_pushnil(L); | 196 | lua_pushnil(L); |
| 197 | return 1; | 197 | return 1; |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | 200 | ||
