Aloow simple PS context to work.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24728 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2007-02-28 12:27:10 +00:00
parent 55a530dfc0
commit a9e7da9d4a
2 changed files with 6 additions and 2 deletions

View file

@ -59,10 +59,9 @@
{
NSString *contextType;
[super initWithContextInfo:info];
contextType = [info objectForKey:
NSGraphicsContextRepresentationFormatAttributeName];
self = [super initWithContextInfo: info];
if (contextType)
{
/* Most likely this is a PS or PDF context, so just return what