From ff7388a01c8352541a9e1e47d044829244510749 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 27 Oct 2011 22:57:04 +0000 Subject: [PATCH] fix regexp typo --- pandatool/src/pstatserver/pStatGraph.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandatool/src/pstatserver/pStatGraph.cxx b/pandatool/src/pstatserver/pStatGraph.cxx index 3ee815e283..df94bb3b7d 100644 --- a/pandatool/src/pstatserver/pStatGraph.cxx +++ b/pandatool/src/pstatserver/pStatGraph.cxx @@ -185,11 +185,11 @@ format_number(double value) { char buffer[128]; if (value < 0.01) { - sprintf(buffer, "%0.4", value); + sprintf(buffer, "%0.4f", value); } else if (value < 0.1) { - sprintf(buffer, "%0.3", value); + sprintf(buffer, "%0.3f", value); } else if (value < 1.0) { - sprintf(buffer, "%0.2", value); + sprintf(buffer, "%0.2f", value); } else if (value < 10.0) { sprintf(buffer, "%0.1f", value); } else {