From ccb58b303a5f9b37922450fa535c019511895a8a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 6 Mar 2003 16:09:11 +0000 Subject: add #define for the max device name length in a DEVICEMODE (This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5) --- source3/include/nt_printing.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include/nt_printing.h') diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index ca65a40d48..762b1c6917 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -255,6 +255,8 @@ typedef struct { NT_PRINTER_KEY *keys; } NT_PRINTER_DATA; +#define MAXDEVICENAME 32 + typedef struct ntdevicemode { fstring devicename; -- cgit