From d5cd0ba11a97ebf87c37b5a604b4f2c38d5e3a72 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 6 Jun 2012 19:45:00 -0500 Subject: [PATCH] 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. --- level_1/fl_fss/c/fss_basic_list.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 1.8.3.1