]> Kevux Git Server - fll/commitdiff
Bugfix: reset position on back to back lists
authorKevin Day <kevin@kevux.org>
Thu, 7 Jun 2012 00:45:00 +0000 (19:45 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 7 Jun 2012 00:45:00 +0000 (19:45 -0500)
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

index 3643b61f02bb7dd75dea486f19ced74561126c0f..15b86d4c6f298a8ad11d1806842a8e273911188f 100644 (file)
@@ -314,6 +314,10 @@ extern "C"{
             return fl_fss_found_content;
           }
 
+          if (!found_newline) {
+            input->start = last_newline;
+          }
+
           return fl_fss_found_no_content;
         }