Author: rmottola
Date: Tue Oct 28 09:26:45 2014
New Revision: 38137
URL: http://svn.gna.org/viewcvs/gnustep?rev=38137&view=rev
Log:
Don't crash if there is no description
Modified:
apps/systempreferences/trunk/ChangeLog
apps/systempreferences/trunk/Modules/Themes/Themes.m
Modified: apps/systempreferences/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/apps/systempreferences/trunk/ChangeLog?rev=38137&r1=38136&r2=38137&view=diff
==============================================================================
--- apps/systempreferences/trunk/ChangeLog (original)
+++ apps/systempreferences/trunk/ChangeLog Tue Oct 28 09:26:45 2014
@@ -1,3 +1,8 @@
+2014-10-28 Riccardo Mottola <[email protected]>
+
+ * Modules/Themes/Themes.m
+ Don't crash if there is no description.
+
2014-02-14 Riccardo Mottola <[email protected]>
* Modules/Defaults/Resources/English.lproj/Localizable.strings
Modified: apps/systempreferences/trunk/Modules/Themes/Themes.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/systempreferences/trunk/Modules/Themes/Themes.m?rev=38137&r1=38136&r2=38137&view=diff
==============================================================================
--- apps/systempreferences/trunk/Modules/Themes/Themes.m (original)
+++ apps/systempreferences/trunk/Modules/Themes/Themes.m Tue Oct 28
09:26:45 2014
@@ -1,6 +1,6 @@
/* Themes.h
*
- * Copyright (C) 2009-2013 Free Software Foundation, Inc.
+ * Copyright (C) 2009-2014 Free Software Foundation, Inc.
*
* Author: Riccardo Mottola <[email protected]>
* Date: October 2009
@@ -91,6 +91,8 @@
[licenseField setStringValue:license];
themeDetails = [[[selectedTheme bundle] infoDictionary]
objectForKey:@"GSThemeDetails"];
+ if (themeDetails == nil)
+ themeDetails = @"";
[detailsView setString:themeDetails];
if (YES == [[selectedTheme name] isEqualToString: @"GNUstep"])
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs