--- android/TrainInfoService/src/dk/thoerup/traininfoservice/RequestPlotter.java 2011/04/20 21:20:58 1369 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/RequestPlotter.java 2011/04/20 21:31:45 1370 @@ -385,6 +385,8 @@ if (count > 30) //limit to 30 days count = 30; + if (count < 0) //negative count is not allowed + count = 0; String kmlData = getRequestsFromFile(count);