diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 1b38c6e72c..0f77884112 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -78,7 +78,7 @@ int get_ntforms(nt_forms_struct **list) dbuf = tdb_fetch(tdb, kbuf); if (!dbuf.dptr) continue; - fstrcpy(form.name, kbuf.dptr+strlen(FORMS_PREFIX)); + fstrcpy(form.name, kbuf.dptr+strlen(FORMS_PREFIX)+1); ret = tdb_unpack(dbuf.dptr, dbuf.dsize, "ddddddd", &form.flag, &form.width, &form.length, &form.left, &form.top, &form.right, &form.bottom); |