X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a553f2674865fa544d04ca7b8194e30c008644ae..d82c6ebb847df8f291a2ab0dec57ce952db84b05:/client/proxguiqt.cpp?ds=sidebyside diff --git a/client/proxguiqt.cpp b/client/proxguiqt.cpp index f687bdf4..6719fcac 100644 --- a/client/proxguiqt.cpp +++ b/client/proxguiqt.cpp @@ -1,4 +1,6 @@ //----------------------------------------------------------------------------- +// Copyright (C) 2009 Michael Gernoth +// // 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. @@ -261,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]);