diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2008-08-07 00:02:13 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2008-08-07 00:02:13 +0000 |
commit | e07c04d62a89eb082256657b20208a9fc2ad7173 (patch) | |
tree | aea1303005647b990c97285784ff03ef63c2d76b /gs/contrib | |
parent | 416dfe1047f9dc3f5d768f0297a55567880bb4a2 (diff) |
Use graphics library instead of interpreter error codes in the gomni
device.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8946 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/contrib')
-rw-r--r-- | gs/contrib/gomni.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gs/contrib/gomni.c b/gs/contrib/gomni.c index 03fda69fd..028d62576 100644 --- a/gs/contrib/gomni.c +++ b/gs/contrib/gomni.c @@ -117,7 +117,7 @@ int dlsym_wrapper(void *lib, char const *name, void **symbol) #include "gdevprn.h" #include "gsparam.h" #include "gdevbmp.h" -#include "errors.h" +#include "gserrors.h" #include "stdio_.h" #include "gserrors.h" #include "gpsync.h" @@ -388,7 +388,7 @@ OpenDevice (gx_device *pdev /* Driver instance to open */) eprintf ("Error: No pDev in OpenDevice.\n"); if (fDebugOutput) lprintf ("error was here.\n"); - return e_Fatal; + return gs_error_Fatal; } if (!pDev->hmodOmni) @@ -397,7 +397,7 @@ OpenDevice (gx_device *pdev /* Driver instance to open */) eprintf ("Error: Could not load libomni.so\n"); if (fDebugOutput) lprintf ("error was here.\n"); - return e_Fatal; + return gs_error_Fatal; } if (!pDev->pcoreOmni->cDeviceName[0]) @@ -406,7 +406,7 @@ OpenDevice (gx_device *pdev /* Driver instance to open */) eprintf ("Error: -sDeviceName=XXX was not defined\n"); if (fDebugOutput) lprintf ("error was here.\n"); - return e_Fatal; + return gs_error_Fatal; } pDev->iUseServer = 0; |