chiark / gitweb /
routesearch: actually print number of routes requested, not one less
[ypp-sc-tools.db-test.git] / yarrg / rsmain.c
index a784ae383ef3fa521bc86f7c1d1ce929914f2eaf..2e1c500308658ed53c60a49e7b9fc3f64590a268 100644 (file)
@@ -185,7 +185,7 @@ int main(int argc, const char **argv) {
          int midarch= route2midarch(ports,nports);
          fprintf(output,
                  " @%2d %c#%2d | start%3d mid%d:%3d f%d:%3d | %5d %5d %4d |",
-                 pos, "ap"[ap], nhighscores[granui][ap] - 1 - pos,
+                 pos, "ap"[ap], nhighscores[granui][ap] - pos,
                  ports[0], midarch,midisle, finarch,finisle,
                  (int)hs->value, (int)pr->value[A], (int)pr->value[P]);
          for (i=0; i<nports; i++) fprintf(output," %d",ports[i]);