From 67b9b62a7e8ebb326d1f6f51399a910c7dd7c984 Mon Sep 17 00:00:00 2001 From: "adam@algroup.co.uk" Date: Fri, 10 Jul 2009 11:14:48 +0000 Subject: [PATCH 1/1] minor display style change --- linux/proxguiqt.cpp | 2 +- winsrc/gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/proxguiqt.cpp b/linux/proxguiqt.cpp index 54db050e..f024529a 100644 --- a/linux/proxguiqt.cpp +++ b/linux/proxguiqt.cpp @@ -231,7 +231,7 @@ void ProxWidget::paintEvent(QPaintEvent *event) painter.drawPath(cursorBPath); char str[100]; - sprintf(str, "@%d max=%d min=%d mean=%d n=%d/%d dt=%d [%.3f] zoom=%.3f CursorA=%d (%d) CursorB=%d (%d)", + 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]); diff --git a/winsrc/gui.cpp b/winsrc/gui.cpp index 7dc9b404..fcdf3863 100644 --- a/winsrc/gui.cpp +++ b/winsrc/gui.cpp @@ -248,7 +248,7 @@ static void PaintGraph(HDC hdc) } char str[100]; - sprintf(str, "@%d max=%d min=%d mean=%d n=%d/%d dt=%d [%.3f] zoom=%.3f CursorA=%d (%d) CursorB=%d (%d)", + 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]); TextOut(hdc, 50, r.bottom - 20, str, strlen(str)); -- 2.39.5