Code

list_graphs action: Avoid linebreak in "42 instances".
authorFlorian Forster <octo@verplant.org>
Fri, 10 Sep 2010 07:47:42 +0000 (09:47 +0200)
committerFlorian Forster <octo@verplant.org>
Fri, 10 Sep 2010 07:47:42 +0000 (09:47 +0200)
src/action_list_graphs.c

index ac37cc025a519c2eb8d7ba52451e0b10f6b44b0a..6f919e3afdfdce142a054b71d18a8e8a81844c78 100644 (file)
@@ -66,7 +66,7 @@ static int print_one_graph (graph_config_t *cfg, /* {{{ */
   html_escape_buffer (params, sizeof (params));
 
   printf ("      <li class=\"graph\"><a href=\"%s?action=show_graph;%s\">"
-      "%s</a> <span class=\"num_instances\">(%lu %s)</span></li>\n",
+      "%s</a> <span class=\"num_instances\">(%lu&nbsp;%s)</span></li>\n",
       script_name (), params, title,
       (unsigned long) num_instances,
       (num_instances == 1) ? "instance" : "instances");