Fix stupid `rubbish at end of %%Title' bug.
Don't complain about palette relative RGBs.
If output param to CreateDC is NULL default to `LPT1:' - Hack.
diff --git a/graphics/psdrv/init.c b/graphics/psdrv/init.c
index cf6bf28..f750199 100644
--- a/graphics/psdrv/init.c
+++ b/graphics/psdrv/init.c
@@ -13,6 +13,7 @@
#include "winreg.h"
#include "winspool.h"
#include "winerror.h"
+#include "options.h"
DEFAULT_DEBUG_CHANNEL(psdrv)
@@ -297,8 +298,9 @@
dc->w.devCaps->vertRes);
dc->w.hFont = PSDRV_DefaultFont;
- physDev->job.output = output ? HEAP_strdupA( PSDRV_Heap, 0, output ) :
- NULL;
+ physDev->job.output = output ?
+ HEAP_strdupA( PSDRV_Heap, 0, output ) :
+ HEAP_strdupA( PSDRV_Heap, 0, "LPT1:" ); /* HACK */
physDev->job.hJob = 0;
return TRUE;
}