width cahgne
authorPekka Riikonen <priikone@silcnet.org>
Mon, 17 Nov 2003 14:01:22 +0000 (14:01 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 17 Nov 2003 14:01:22 +0000 (14:01 +0000)
apps/silcmap/silcmap_html.c

index bc350c6b86e50b59523d1a2e40961c436911e606..a5360536aad62a06b7b7ac1b97f5b94325b5fcee 100644 (file)
@@ -546,7 +546,7 @@ bool silc_map_writerelhtml(SilcMap map)
 
     /* Count the reliability */
     if (try)
-      rel = ((double)success / (double)try) * (double)190.0;
+      rel = ((double)success / (double)try) * (double)170.0;
 
     fprintf(fp, "<tr>\n");
     if (mapconn->html_url)
@@ -556,14 +556,14 @@ bool silc_map_writerelhtml(SilcMap map)
       fprintf(fp,
              "<td align = \"center\" class=\"%s\">&nbsp;<a href=\"%s_%d.html\">%s</a></td>\n", class, hostname, mapconn->port, hostname);
     fprintf(fp,
-           "<td class=\"%s\" width=\"190\">"
-           "<table style=\"border: solid 1px black; width: 190px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"%s\"><tr>"
+           "<td class=\"%s\" width=\"170\">"
+           "<table style=\"border: solid 1px black; width: 170px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"%s\"><tr>"
            "<td style=\"width: %fpx; height: 10px;\" bgcolor=\"gray\"></td>"
            "<td style=\"width: %fpx; height: 10px;\" bgcolor=\"white\"></td>"
            "</tr></table></td>\n"
            "<td class=\"%s\">%.2f%% - score: %d</td>\n"
            "</tr>\n",
-           class, class, rel, 190 - rel, class,
+           class, class, rel, 170 - rel, class,
            ((double)success / (double)try) * (double)100.0, success);
   }