summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/grops/ps.h6
-rw-r--r--src/devices/grops/psrm.cpp1
2 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/grops/ps.h b/src/devices/grops/ps.h
index 85a06fec..9e592ae1 100644
--- a/src/devices/grops/ps.h
+++ b/src/devices/grops/ps.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2002, 2003, 2009
+/* Copyright (C) 1989-1992, 2002, 2003, 2009, 2013
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
@@ -53,14 +53,16 @@ inline FILE *ps_output::get_file()
return fp;
}
+// this must stay in sync with `resource_table' in `psrm.cpp'
enum resource_type {
RESOURCE_FONT,
+ RESOURCE_FONTSET,
RESOURCE_PROCSET,
RESOURCE_FILE,
RESOURCE_ENCODING,
RESOURCE_FORM,
RESOURCE_PATTERN
- };
+};
struct resource;
diff --git a/src/devices/grops/psrm.cpp b/src/devices/grops/psrm.cpp
index 52c62422..a3787cb0 100644
--- a/src/devices/grops/psrm.cpp
+++ b/src/devices/grops/psrm.cpp
@@ -86,6 +86,7 @@ const char *extension_table[] = {
const int NEXTENSIONS = sizeof(extension_table)/sizeof(extension_table[0]);
+// this must stay in sync with `resource_type' in `ps.h'
const char *resource_table[] = {
"font",
"fontset",