Fix bug #29: analyse_quotes() shadows the linecnt global variable for no good reason
1.1 --- a/bookloupe/bookloupe.c Thu Oct 03 16:09:39 2013 +0100
1.2 +++ b/bookloupe/bookloupe.c Tue Oct 15 07:57:45 2013 +0100
1.3 @@ -825,7 +825,7 @@
1.4 *
1.5 * Returns: TRUE if the line is empty.
1.6 */
1.7 -gboolean analyse_quotes(const char *aline,int linecnt,struct counters *counters)
1.8 +gboolean analyse_quotes(const char *aline,struct counters *counters)
1.9 {
1.10 int guessquote=0;
1.11 /* assume the line is empty until proven otherwise */
1.12 @@ -2647,7 +2647,7 @@
1.13 }
1.14 checked_linecnt++;
1.15 print_pending(aline,parastart,&pending);
1.16 - isemptyline=analyse_quotes(aline,linecnt,&counters);
1.17 + isemptyline=analyse_quotes(aline,&counters);
1.18 if (isnewpara && !isemptyline)
1.19 {
1.20 /* This line is the start of a new paragraph. */