Removes all Tab characters into agg-plot to use only spaces - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/agg-parse-trans.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年06月27日 17:45:49 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年06月27日 17:45:49 +0200
commit1b2fab01c5b721e793a27dd5f5e67eab65a4fd78 (patch)
tree475b9aaa3cd1693c0a83bf965e039c214274ab6b /agg-plot/agg-parse-trans.cpp
parentf31d5249020fd59ae6f997c870efa9baac05ca05 (diff)
downloadgsl-shell-1b2fab01c5b721e793a27dd5f5e67eab65a4fd78.tar.gz
Removes all Tab characters into agg-plot to use only spaces
Diffstat (limited to 'agg-plot/agg-parse-trans.cpp')
-rw-r--r--agg-plot/agg-parse-trans.cpp 24
1 files changed, 12 insertions, 12 deletions
diff --git a/agg-plot/agg-parse-trans.cpp b/agg-plot/agg-parse-trans.cpp
index cd1bf097..672703e9 100644
--- a/agg-plot/agg-parse-trans.cpp
+++ b/agg-plot/agg-parse-trans.cpp
@@ -109,7 +109,7 @@ sg_object* build_marker (lua_State *L, int specindex, sg_object* src, int li)
{
sg_object* obj = (sg_object*) lua_touserdata(L, -1);
sym = new trans::scaling_a(obj);
- plot_lua_add_ref (L, 1, li);
+ plot_lua_add_ref (L, 1, li);
}
else
{
@@ -142,19 +142,19 @@ sg_object* build_dash (lua_State *L, int specindex, sg_object* src, int li)
lua_rawgeti (L, specindex, j);
if (lua_isnumber (L, -1))
- {
- double a = lua_tonumber (L, -1);
- lua_pop (L, 1);
+ {
+ double a = lua_tonumber (L, -1);
+ lua_pop (L, 1);
- lua_rawgeti (L, specindex, j+1);
+ lua_rawgeti (L, specindex, j+1);
- double b = (lua_isnumber (L, -1) ? lua_tonumber (L, -1) : a);
+ double b = (lua_isnumber (L, -1) ? lua_tonumber (L, -1) : a);
- d->add_dash(a, b);
- lua_pop (L,1);
- }
+ d->add_dash(a, b);
+ lua_pop (L,1);
+ }
else
- break;
+ break;
}
lua_pop (L, 1);
@@ -233,8 +233,8 @@ public:
const reg *p;
for (p = builder_table; p->name != NULL; p++)
{
- if (strcmp (p->name, key) == 0)
- return p->func;
+ if (strcmp (p->name, key) == 0)
+ return p->func;
}
return NULL;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月14日 14:53:45 +0000

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