Author: amunjal
Date: Mon Mar 7 22:25:33 2016
New Revision: 39476
URL: http://svn.gna.org/viewcvs/gnustep?rev=39476&view=rev
Log:
fix for #6153
Modified:
libs/gui/branches/gnustep_testplant_branch/TextConverters/RTF/RTFProducer.m
Modified:
libs/gui/branches/gnustep_testplant_branch/TextConverters/RTF/RTFProducer.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/TextConverters/RTF/RTFProducer.m?rev=39476&r1=39475&r2=39476&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/TextConverters/RTF/RTFProducer.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/TextConverters/RTF/RTFProducer.m
Mon Mar 7 22:25:33 2016
@@ -714,9 +714,11 @@
}
else
{
- NSLog(@"(removal) Missing handling of '%@' attributes.",
+ if ([[NSUserDefaults standardUserDefaults]
boolForKey:@"GSTokensWarning"]) {
+ NSLog(@"(removal) Missing handling of '%@'
attributes.",
attributeName);
- // ##TODO: attributes missing e.g. NSKernAttributeName
+ // ##TODO: attributes missing e.g. NSKernAttributeName
+ }
}
}
@@ -1118,9 +1120,11 @@
}
else
{
- NSLog(@"(addition) Missing handling of '%@' attributes.",
+ if ([[NSUserDefaults standardUserDefaults]
boolForKey:@"GSTokensWarning"]) {
+ NSLog(@"(addition) Missing handling of '%@'
attributes.",
attributeName);
- // ##TODO: attributes missing e.g. NSKernAttributeName
+ // ##TODO: attributes missing e.g.
NSKernAttributeName
+ }
}
}
return result;
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs