From 8dfa27e4eb4b7a9dd4c6a8bd6d42c72df3328750 Mon Sep 17 00:00:00 2001 From: emsquared Date: Wed, 8 Aug 2012 20:53:21 -0400 Subject: [PATCH] We cannot write to nil... blame Parth --- Resources/Info.plist | 4 ++-- Resources/Plugins/System Profiler/TPI_SP_SysInfo.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Info.plist b/Resources/Info.plist index 310be6fa30..49b18c46ce 100755 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -47,8 +47,8 @@ TXBundleBuildCodeName Turtle Soup TXBundleBuildNumber - 12323 + 12324 TXBundleBuildReference - 2.1.1-287-g03ad8bd-appstore + 2.1.1-288-g355fccd-debug diff --git a/Resources/Plugins/System Profiler/TPI_SP_SysInfo.m b/Resources/Plugins/System Profiler/TPI_SP_SysInfo.m index b9c14f7ed7..7dac6a822f 100755 --- a/Resources/Plugins/System Profiler/TPI_SP_SysInfo.m +++ b/Resources/Plugins/System Profiler/TPI_SP_SysInfo.m @@ -518,7 +518,7 @@ + (NSString *)graphicsCardInfo CFRelease(serviceDictionary); } - NSString *res = nil; + NSString *res = NSStringEmptyPlaceholder; for (NSInteger i = 0; i < [gpuList count]; i++) { res = [res stringByAppendingString:[gpuList objectAtIndex:i]];