perf timechart: Fix rendering in Firefox
authorStanislav Fomichev <stfomichev@yandex-team.ru>
Tue, 8 Jul 2014 16:03:40 +0000 (20:03 +0400)
committerJiri Olsa <jolsa@kernel.org>
Wed, 9 Jul 2014 22:22:53 +0000 (00:22 +0200)
Firefox doesn't correctly handle cases where we specify number in
quotes and have some padding around the number, like the following:
<rect ... height=" 3.1" ...>
In this case, it doesn't draw the figure. This patch removes 'field width'
component from fprintf strings to fix it.

Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/1404835423-23098-2-git-send-email-stfomichev@yandex-team.ru
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/svghelper.c

Simple merge