gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-text.cpp')
-rw-r--r--agg-plot/lua-text.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/lua-text.cpp b/agg-plot/lua-text.cpp
index e1c770b0..1efcbbe3 100644
--- a/agg-plot/lua-text.cpp
+++ b/agg-plot/lua-text.cpp
@@ -133,7 +133,7 @@ agg_text_justif_set (lua_State *L)
hjf = 1.0;
break;
default:
- luaL_error (L, "invalid text justification");
+ return luaL_error (L, "invalid text justification");
}
t->hjustif(hjf);
@@ -155,7 +155,7 @@ agg_text_justif_set (lua_State *L)
vjf = 1.0;
break;
default:
- luaL_error (L, "invalid text justification");
+ return luaL_error (L, "invalid text justification");
}
t->vjustif(vjf);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月15日 21:23:38 +0000

AltStyle によって変換されたページ (->オリジナル) /