From 2204eb5e3fb843a426dbc0858fa91ce72d63cc73 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 7 Oct 2009 23:52:01 +0100 Subject: [PATCH] WIP routesearch; summary stratification output table shows 100s and 10s --- yarrg/rsmain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yarrg/rsmain.c b/yarrg/rsmain.c index 0e43d5d..2fc2bdf 100644 --- a/yarrg/rsmain.c +++ b/yarrg/rsmain.c @@ -83,13 +83,13 @@ int main(int argc, const char **argv) { for (midisle=0; midisleabsolute < 1000) fprintf(stderr,"| <"); - else fprintf(stderr,"|%2d",(int)(result->absolute / 1000)); + if (result->absolute < 100) fprintf(stderr,"| ."); + else fprintf(stderr,"|%3d",(int)(result->absolute / 100)); fprintf(stderr," "); - if (result->perleague < 100) fprintf(stderr," <"); - else fprintf(stderr,"%2d",(int)(result->perleague / 100)); + if (result->perleague < 10) fprintf(stderr," ."); + else fprintf(stderr,"%3d",(int)(result->perleague / 10)); } } fprintf(stderr,"\n"); -- 2.30.2