From: skamkar <skamkar@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Date: Wed, 8 Jul 2009 01:09:20 +0000 (+0000)
Subject: port adam's changes to add cursor pos in plot
X-Git-Tag: v1.0.0~578
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/1e8635b2964b0a983feef23a084da8bcda3daf03

port adam's changes to add cursor pos in plot
---

diff --git a/winsrc/gui.cpp b/winsrc/gui.cpp
index 44792b4c..0d2043cc 100644
--- a/winsrc/gui.cpp
+++ b/winsrc/gui.cpp
@@ -248,9 +248,9 @@ static void PaintGraph(HDC hdc)
 	}
 
 	char str[100];
-	sprintf(str, "@%d   max=%d min=%d mean=%d n=%d/%d    dt=%d [%.3f] zoom=%.3f",
+	sprintf(str, "@%d   max=%d min=%d mean=%d n=%d/%d    dt=%d [%.3f] zoom=%.3f CursorA=%d CursorB=%d",
 		GraphStart, yMax, yMin, yMean, n, GraphTraceLen,
-		CursorBPos - CursorAPos, (CursorBPos - CursorAPos)/CursorScaleFactor, GraphPixelsPerPoint);
+		CursorBPos - CursorAPos, (CursorBPos - CursorAPos)/CursorScaleFactor, GraphPixelsPerPoint, CursorAPos, CursorBPos);
 	TextOut(hdc, 50, r.bottom - 20, str, strlen(str));
 }