diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 18:20:36 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 18:20:36 +0100 |
commit | 8dfd794540c01ea61b9bd43f7da363d8b1503e7b (patch) | |
tree | a9ae3dcb5e4173f83a38b7c8a76d23e32f02e0cb | |
parent | 3ffd7f8214ec3c73b9fdaa43c815ab29cc5a94e3 (diff) | |
download | lrexlib-8dfd794540c01ea61b9bd43f7da363d8b1503e7b.tar.gz |
Tweak for clarity.
-rwxr-xr-x | src/gnu/lgnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnu/lgnu.c b/src/gnu/lgnu.c index fa1f9c9..580a3c7 100755 --- a/src/gnu/lgnu.c +++ b/src/gnu/lgnu.c @@ -105,7 +105,7 @@ static void opttranslate (TArgComp *argC, lua_State *L, int pos) { argC->translate = (const unsigned char *) Lmalloc (L, ALG_TRANSLATE_SIZE); memset ((unsigned char *) argC->translate, 0, ALG_TRANSLATE_SIZE); /* initialize all members to 0 */ - for (i = 0; i < ALG_TRANSLATE_SIZE; i++) { + for (i = 0; i <= UCHAR_MAX; i++) { lua_pushinteger (L, i); lua_gettable (L, pos); if (lua_tostring (L, -1)) |