From: Kevin Day Date: Thu, 7 Jun 2012 00:45:00 +0000 (-0500) Subject: Bugfix: reset position on back to back lists X-Git-Tag: 0.3.0~22 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d5cd0ba11a97ebf87c37b5a604b4f2c38d5e3a72;p=fll Bugfix: reset position on back to back lists If two lists are back to back such that one does not have content, then make sure that the position resets to the start. If this does not happen, then the next object will be skipped. --- diff --git a/level_1/fl_fss/c/fss_basic_list.c b/level_1/fl_fss/c/fss_basic_list.c index 3643b61..15b86d4 100644 --- a/level_1/fl_fss/c/fss_basic_list.c +++ b/level_1/fl_fss/c/fss_basic_list.c @@ -314,6 +314,10 @@ extern "C"{ return fl_fss_found_content; } + if (!found_newline) { + input->start = last_newline; + } + return fl_fss_found_no_content; }