Fix zeroing n param when running <data clear>

This commit is contained in:
iceman1001 committed 2021-08-01 17:14:06 +02:00
1 parent c1cc62ca5f
commit 65387f7cd3
4 files changed
+3 -3

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ size_t ClearGraph(bool redraw) {
size_t gtl = GraphTraceLen;
memset(GraphBuffer, 0x00, GraphTraceLen);
GraphTraceLen = 0;
GraphStop = 0;
if (redraw)
RepaintGraphWindow();
return gtl;