From 9d86e8b8456d8aefff97983240953bc2af9bdb8d Mon Sep 17 00:00:00 2001 From: francesco-ST Date: Tue, 8 Feb 2011 15:27:31 +0100 Subject: Cosmetic change to suppress C compiler warning. --- agg-plot/lua-text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agg-plot/lua-text.cpp') 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); -- cgit v1.2.3

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