mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:30:44 +00:00
fixup error in pasteboard types provided when png is available
This commit is contained in:
parent
7a215fcb01
commit
324308b4e8
1 changed files with 6 additions and 1 deletions
|
@ -147,7 +147,12 @@
|
|||
|
||||
if (types == nil)
|
||||
{
|
||||
types = [[NSArray alloc] initWithObjects: NSTIFFPboardType, nil];
|
||||
types = [[NSArray alloc] initWithObjects:
|
||||
NSTIFFPboardType,
|
||||
#if HAVE_LIBPNG
|
||||
NSPasteboardTypePNG,
|
||||
#endif
|
||||
nil];
|
||||
}
|
||||
|
||||
return types;
|
||||
|
|
Loading…
Reference in a new issue