1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-04-11 23:12:52 +00:00

fixed another bug when using plotlib

This commit is contained in:
¨Rene Richarz
2019-03-29 15:13:56 +01:00
parent d2f5d3efd0
commit 98aeb92aeb
3 changed files with 2 additions and 2 deletions

BIN
tek4010

Binary file not shown.

View File

@@ -363,7 +363,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int width, int height, int first)
if (DEBUG) printf("***** Moving to (%d,%d)\n",x0,y0);
break;
case 5: if (ch == 29) mode = 1;
else {
else if (tag != 0) {
yh = 32 * (ch & 31); mode++;
}
break;

View File

@@ -1,6 +1,6 @@
#define WINDOW_WIDTH 1024 // proposed width of main window
#define WINDOW_HEIGHT 780 // proposed height of main window
#define WINDOW_HEIGHT 768 // proposed height of main window (as per Tektronix manual)
#define WINDOW_NAME "Tektronix 4010" // name of main window
#define ICON_NAME "" // path to icon for window