From f5091bdc2da3d8e16a1eb503c0e1344b38951e0c Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 9 Jun 2023 16:09:57 +0200 Subject: [PATCH] Make the error message a little more reasonable. Unfortunately the current setup does not easily allow naming the offending command. --- src/frontend/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/display.c b/src/frontend/display.c index a85a30726..a286289f5 100644 --- a/src/frontend/display.c +++ b/src/frontend/display.c @@ -129,7 +129,7 @@ DISPDEVICE device[] = { (disp_fn_Track_t *) NODEV, (disp_fn_MakeMenu_t *) NODEV, (disp_fn_MakeDialog_t *) NODEV, (disp_fn_Input_t *) NODEV, gen_DatatoScreen, }, - { "PrinterOnly", 0, 0, 24, 80, 0, 0, + { "BatchMode/PrinterOnly", 0, 0, 24, 80, 0, 0, (disp_fn_Init_t *) NODEV, (disp_fn_NewViewport_t *) NODEV, (disp_fn_Close_t *) NOP, (disp_fn_Clear_t *) NODEV, (disp_fn_DrawLine_t *) NODEV, (disp_fn_Arc_t *) NODEV, (disp_fn_Text_t *) NODEV,