From c215a86a7509acf17f56433a568ac32d0550d59e Mon Sep 17 00:00:00 2001 From: lyrathorpe Date: Mon, 6 Jul 2026 18:23:38 +0100 Subject: [PATCH] fix(inventory): load BAREAN.LDD by full path M:\\IMG\\BAREAN --- code/inventory/bcode.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/inventory/bcode.h b/code/inventory/bcode.h index 3953157..057841f 100644 --- a/code/inventory/bcode.h +++ b/code/inventory/bcode.h @@ -20,8 +20,11 @@ #include -/* Decoder LDD to load (BAREAN.LDD = EAN/UPC) and the device it registers. */ -#define BCODE_LDD "BAREAN" +/* Decoder LDD to load (BAREAN.LDD = EAN/UPC) and the device it registers. + Full path: p_loadldd searches only the current path for a bare name, and the + System screen's current path is not necessarily where SCAN.IMG lives. The + .LDD extension is appended automatically. Change this if you move the file. */ +#define BCODE_LDD "M:\\IMG\\BAREAN" #define BCODE_DEV "BAR:" /* Longest decoded barcode we handle (UPC-A is 12; headroom for EAN/supplements). */