From 1b2fab01c5b721e793a27dd5f5e67eab65a4fd78 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: 2012年6月27日 17:45:49 +0200 Subject: Removes all Tab characters into agg-plot to use only spaces --- agg-plot/lua-text.cpp | 52 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'agg-plot/lua-text.cpp') diff --git a/agg-plot/lua-text.cpp b/agg-plot/lua-text.cpp index cb5dd7c4..3558addb 100644 --- a/agg-plot/lua-text.cpp +++ b/agg-plot/lua-text.cpp @@ -120,19 +120,19 @@ agg_text_justif_set (lua_State *L) char ch = justif[0]; double hjf; switch (ch) - { - case 'l': - hjf = 0.0; - break; - case 'c': - hjf = 0.5; - break; - case 'r': - hjf = 1.0; - break; - default: - return luaL_error (L, "invalid text justification"); - } + { + case 'l': + hjf = 0.0; + break; + case 'c': + hjf = 0.5; + break; + case 'r': + hjf = 1.0; + break; + default: + return luaL_error (L, "invalid text justification"); + } t->hjustif(hjf); } @@ -142,19 +142,19 @@ agg_text_justif_set (lua_State *L) char ch = justif[1]; double vjf; switch (ch) - { - case 'b': - vjf = 0.0; - break; - case 'c': - vjf = 0.5; - break; - case 't': - vjf = 1.0; - break; - default: - return luaL_error (L, "invalid text justification"); - } + { + case 'b': + vjf = 0.0; + break; + case 'c': + vjf = 0.5; + break; + case 't': + vjf = 1.0; + break; + default: + return luaL_error (L, "invalid text justification"); + } t->vjustif(vjf); } -- cgit v1.2.3

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