]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxguiqt.cpp
cleaned up some if-def routines
[proxmark3-svn] / client / proxguiqt.cpp
index 70c64fbdfc869d1736dd1ac2a21389852acdd1dd..6719fcacbfc05992e30828b4e87ebea1253b2bc6 100644 (file)
@@ -1,3 +1,13 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// GUI (QT)
+//-----------------------------------------------------------------------------
+
 #include <iostream>
 #include <QPainterPath>
 #include <QBrush>
@@ -253,7 +263,7 @@ void ProxWidget::paintEvent(QPaintEvent *event)
        painter.setPen(QColor(255, 0, 255));
        painter.drawPath(cursorBPath);
 
-       char str[100];
+       char str[200];
        sprintf(str, "@%d   max=%d min=%d mean=%d n=%d/%d    dt=%d [%.3f] zoom=%.3f CursorA=%d [%d] CursorB=%d [%d]",
                        GraphStart, yMax, yMin, yMean, n, GraphTraceLen,
                        CursorBPos - CursorAPos, (CursorBPos - CursorAPos)/CursorScaleFactor,GraphPixelsPerPoint,CursorAPos,GraphBuffer[CursorAPos],CursorBPos,GraphBuffer[CursorBPos]);
Impressum, Datenschutz