aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-03 11:36:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-03 11:36:42 -0300
commit2c68e66570206aa1496f9c76fcf2a1a0f550d692 (patch)
treebcc6fd7939b12ef3a636d88ce0ac38da036660d8 /lstring.c
parent7d0f41df41e9c513e7282356541b54beaf9ed20d (diff)
downloadlua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.gz
lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.bz2
lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.zip
Details
Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like)
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.c b/lstring.c
index c52539a6..6ba798d9 100644
--- a/lstring.c
+++ b/lstring.c
@@ -121,8 +121,8 @@ void luaS_clearcache (global_State *g) {
121 int i, j; 121 int i, j;
122 for (i = 0; i < STRCACHE_N; i++) 122 for (i = 0; i < STRCACHE_N; i++)
123 for (j = 0; j < STRCACHE_M; j++) { 123 for (j = 0; j < STRCACHE_M; j++) {
124 if (iswhite(g->strcache[i][j])) /* will entry be collected? */ 124 if (iswhite(g->strcache[i][j])) /* will entry be collected? */
125 g->strcache[i][j] = g->memerrmsg; /* replace it with something fixed */ 125 g->strcache[i][j] = g->memerrmsg; /* replace it with something fixed */
126 } 126 }
127} 127}
128 128