Skip to content
Commit e27cade3 authored by Carl-Anton Ingmarsson's avatar Carl-Anton Ingmarsson Committed by Sebastien Granjoux
Browse files

indentation-c-style: Fix get_line_indentation().

get_line_indentation() was broken since 166f7f2c. Fix it
by only looking for matching left brace if the current line has a right brace.

Also break on the first line where the number of left braces are more than or equal to the right
braces instead of just breaking on the line where the total number of left and right braces are
equal.

https://bugzilla.gnome.org/show_bug.cgi?id=688275
parent c6455b6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment