be

based editor
git clone git://git.kocotian.pl/be.git
Log | Files | Refs | README | LICENSE

commit eeb4c5d98926da1a1718bf3431e1862d590a43a4
parent e501105df536fd1db0cfa1f30b3179ecbfa9567c
Author: kocotian <kocotian@kocotian.pl>
Date:   Mon, 19 Apr 2021 16:39:48 +0200

Got rid of misleading-indentation warning

Diffstat:
Mbe.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/be.c b/be.c @@ -610,16 +610,16 @@ cursormove(const Arg *arg) switch (arg->i) { case 0: /* left */ if (CURBUF.x > 0) --(CURBUF.x); - else minibufferPrint(lang_info[InfoAlreadyBeg]); break; + else minibufferPrint(lang_info[InfoAlreadyBeg]);; break; case 1: /* down */ if (CURBUF.y < (signed)CURBUF.lines.len - 1) ++(CURBUF.y); - else minibufferPrint(lang_info[InfoAlreadyBot]); break; + else minibufferPrint(lang_info[InfoAlreadyBot]);; break; case 2: /* up */ if (CURBUF.y > 0) --(CURBUF.y); - else minibufferPrint(lang_info[InfoAlreadyTop]); break; + else minibufferPrint(lang_info[InfoAlreadyTop]);; break; case 3: /* right */ if (CURBUF.x < (signed)CURBUF.lines.data[CURBUF.y].len) ++(CURBUF.x); - else minibufferPrint(lang_info[InfoAlreadyEnd]); break; + else minibufferPrint(lang_info[InfoAlreadyEnd]);; break; } if (CURBUF.x >= (signed)CURBUF.lines.data[CURBUF.y].len) CURBUF.x = (signed)CURBUF.lines.data[CURBUF.y].len;