|
@@ -88,7 +88,7 @@ public class Model extends Observable
|
|
int tempLen = 0;
|
|
int tempLen = 0;
|
|
int index = 0;
|
|
int index = 0;
|
|
|
|
|
|
- for (int i = 0; i < thingies.size() && tempLen <= x; i++)
|
|
|
|
|
|
+ for (int i = 0; i < thingies.size() && tempLen < x; i++)
|
|
{
|
|
{
|
|
if (i == 0) System.out.println("first loop iteration");
|
|
if (i == 0) System.out.println("first loop iteration");
|
|
System.out.println("vislen at " + i + " is : " + thingies.get(i).getVisibleLen());
|
|
System.out.println("vislen at " + i + " is : " + thingies.get(i).getVisibleLen());
|