From 346ad5fbbb275f51ac3ceed118d4f9164f3278da Mon Sep 17 00:00:00 2001 From: "adam@algroup.co.uk" Date: Tue, 20 Apr 2010 08:22:05 +0000 Subject: [PATCH 1/1] Fix linux GUI crash [Hagen Fritsch] --- client/proxguiqt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.39.5