X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c6be64da095246620420500857f1f34994b769a8..2ae8a312e058f71d0f02be4f2f9cc6f284ebbf34:/client/graph.c diff --git a/client/graph.c b/client/graph.c index 8974f4c3..98dc8043 100644 --- a/client/graph.c +++ b/client/graph.c @@ -36,8 +36,10 @@ void AppendGraph(int redraw, int clock, int bit) int ClearGraph(int redraw) { int gtl = GraphTraceLen; - GraphTraceLen = 0; + memset(GraphBuffer, 0x00, GraphTraceLen); + GraphTraceLen = 0; + if (redraw) RepaintGraphWindow();