author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年07月21日 16:15:04 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年07月21日 16:15:04 +0200 |
commit | 109cec3a3eec162659dbe4b6bbc724bfc4d71c31 (patch) | |
tree | 792fc6531eed8461ddaca467cde0af197995444b /agg-plot/window_registry.cpp | |
parent | 269afefd4af2969413e905514285b07729464b84 (diff) | |
parent | 60f4afc1da907037867b9501fd9f781948efe649 (diff) | |
download | gsl-shell-109cec3a3eec162659dbe4b6bbc724bfc4d71c31.tar.gz |
-rw-r--r-- | agg-plot/window_registry.cpp | 20 |
diff --git a/agg-plot/window_registry.cpp b/agg-plot/window_registry.cpp index c09539bc..c2e6f1f1 100644 --- a/agg-plot/window_registry.cpp +++ b/agg-plot/window_registry.cpp @@ -151,16 +151,16 @@ window_refs_lookup_apply (lua_State *L, int value_index, lua_CFunction func) lua_pushnil (L); while (lua_next (L, -2) != 0) - { - if (lua_rawequal (L, -1, value_index)) - { - lua_pushcfunction (L, func); - lua_pushvalue (L, -5); - lua_pushvalue (L, -4); - lua_call (L, 2, 0); - } - lua_pop (L, 1); - } + { + if (lua_rawequal (L, -1, value_index)) + { + lua_pushcfunction (L, func); + lua_pushvalue (L, -5); + lua_pushvalue (L, -4); + lua_call (L, 2, 0); + } + lua_pop (L, 1); + } lua_pop (L, 1); } |