Cosmetic change to suppress C compiler warning. - 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:
authorfrancesco-ST <francesco.abbate@st.com>2011年02月08日 15:27:31 +0100
committerfrancesco-ST <francesco.abbate@st.com>2011年02月08日 15:27:31 +0100
commit9d86e8b8456d8aefff97983240953bc2af9bdb8d (patch)
tree796085bbe1766f10b638b8b62e832f7f0f73b33f /agg-plot/lua-text.cpp
parent4226638486e6e8357c8b94387a213d62dd12cba4 (diff)
downloadgsl-shell-9d86e8b8456d8aefff97983240953bc2af9bdb8d.tar.gz
Cosmetic change to suppress C compiler warning.
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日 05:06:42 +0000

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