From: adam@algroup.co.uk Date: Tue, 20 Apr 2010 08:22:05 +0000 (+0000) Subject: Fix linux GUI crash [Hagen Fritsch] X-Git-Tag: v1.0.0~278 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/346ad5fbbb275f51ac3ceed118d4f9164f3278da?ds=sidebyside Fix linux GUI crash [Hagen Fritsch] --- diff --git a/client/proxguiqt.cpp b/client/proxguiqt.cpp index f0038683..6719fcac 100644 --- a/client/proxguiqt.cpp +++ b/client/proxguiqt.cpp @@ -263,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]);