Made some of the NSLog messages more explicit on what did go wrong.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17495 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-08-19 17:42:18 +00:00
parent 60b9250a9c
commit 1a8c599b43

View file

@ -563,7 +563,8 @@ static NSString *xWaitMode = @"XPasteboardWaitMode";
if ([self waitingForSelection] != 0)
{
[self setWaitingForSelection: 0];
NSLog(@"Timed out waiting for X selection");
NSLog(@"Timed out waiting for X selection '%s'",
XGetAtomName(xDisplay, xType));
}
}
}
@ -585,7 +586,7 @@ static NSString *xWaitMode = @"XPasteboardWaitMode";
}
else
{
NSLog(@"Request for non-string info from X pasteboard");
NSLog(@"Request for non-string info from X pasteboard: %@", type);
}
[pb setData: [self data] forType: type];
}
@ -751,7 +752,8 @@ xErrorHandler(Display *d, XErrorEvent *e)
}
else
{
NSLog(@"Unsupported data type from X selection.");
NSLog(@"Unsupported data type '%s' from X selection.",
XGetAtomName(xDisplay, actual_type));
}
}