]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix linux GUI crash [Hagen Fritsch]
authoradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 20 Apr 2010 08:22:05 +0000 (08:22 +0000)
committeradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 20 Apr 2010 08:22:05 +0000 (08:22 +0000)
client/proxguiqt.cpp

index f0038683ba8d152503649b812d852dea5288837c..6719fcacbfc05992e30828b4e87ebea1253b2bc6 100644 (file)
@@ -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]);
Impressum, Datenschutz