I hope the title is enough to explain this patch. --- fish_indent.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/fish_indent.c b/fish_indent.c index f3184c4..14cf5a6 100644 --- a/fish_indent.c +++ b/fish_indent.c @@ -125,6 +125,11 @@ static int indent( string_buffer_t *out, wchar_t *in, int flags ) { indent--; } + /* case should have the same indent level as switch*/ + else if( wcscmp( unesc, L"case" ) == 0 ) + { + indent--; + } else if( wcscmp( unesc, L"end" ) == 0 ) { indent--; -- 1.7.3.2 ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users