author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
commit | 046c56f449db15b9c9aa113cb03adf695dd7b9b6 (patch) | |
tree | 0ae7650dcac74233784f50608b15fb54f2f52d0c /agg-plot/window_registry.cpp | |
parent | 3c1ad26e933233f6a7031b0b56c5b19ffb5ebf96 (diff) | |
download | gsl-shell-046c56f449db15b9c9aa113cb03adf695dd7b9b6.tar.gz |
-rw-r--r-- | agg-plot/window_registry.cpp | 4 |
diff --git a/agg-plot/window_registry.cpp b/agg-plot/window_registry.cpp index 4c59e8f7..0ebfa499 100644 --- a/agg-plot/window_registry.cpp +++ b/agg-plot/window_registry.cpp @@ -70,7 +70,7 @@ window_index_apply_all (lua_State *L, lua_CFunction f) lua_getfield (L, LUA_REGISTRYINDEX, registry_tname); lua_pushnil (L); /* first key */ - while (lua_next(L, -2) != 0) + while (lua_next(L, -2) != 0) { lua_pushcfunction (L, f); lua_insert (L, -2); @@ -88,7 +88,7 @@ window_index_count (lua_State *L) lua_getfield (L, LUA_REGISTRYINDEX, registry_tname); lua_pushnil (L); /* first key */ - while (lua_next(L, -2) != 0) + while (lua_next(L, -2) != 0) { lua_pop (L, 1); count ++; |