Commit f5544d4c authored by hjk's avatar hjk
Browse files

Debugger: Fix off-by-one when displaying "plottable" data



Change-Id: I93b3ba02e0d2ebde829ec8120a847429ca712450
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 178bf93d
...@@ -1178,7 +1178,7 @@ class Dumper(DumperBase): ...@@ -1178,7 +1178,7 @@ class Dumper(DumperBase):
f.write("set grid\n") f.write("set grid\n")
f.write("set style data lines;\n") f.write("set style data lines;\n")
f.write("plot '-' title '%s'\n" % iname) f.write("plot '-' title '%s'\n" % iname)
for i in range(1, n): for i in range(0, n):
f.write(" %s\n" % base.dereference()) f.write(" %s\n" % base.dereference())
base += 1 base += 1
f.write("e\n") f.write("e\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment