author | Francesco Abbate <francesco.bbt@gmail.com> | 2013年02月04日 14:25:52 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2013年02月04日 21:30:49 +0100 |
commit | 4dce755427a8a4631a61bffe303abe4d2ebcda07 (patch) | |
tree | 3985644e26069db196f8f5b66d3c0e50ca97d449 /agg-plot/lua-plot.cpp | |
parent | 59929cbc7476647c1ee50489326156ef96b9d331 (diff) | |
download | gsl-shell-4dce755427a8a4631a61bffe303abe4d2ebcda07.tar.gz |
-rw-r--r-- | agg-plot/lua-plot.cpp | 5 |
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp index 9afa4f28..6019551e 100644 --- a/agg-plot/lua-plot.cpp +++ b/agg-plot/lua-plot.cpp @@ -499,10 +499,13 @@ int plot_xaxis_hol_set (lua_State *L) break; } + AGG_LOCK(); hol->add(fl); - if (create_hol) p->set_xaxis_hol(hol); + AGG_UNLOCK(); + + plot_update_raw (L, p, 1); return 0; } |