Insignificant stylistic change

This commit is contained in:
Allan Odgaard
2013-01-13 04:11:05 +01:00
parent 06fea983fc
commit 0d8ade2687

View File

@@ -1777,10 +1777,10 @@ static NSUInteger DisableSessionSavingCount = 0;
{
NSMutableDictionary* res = [NSMutableDictionary dictionary];
if(controller.defaultProjectPath)
res[@"projectPath"] = controller.defaultProjectPath;
if(controller.fileBrowserHistory)
res[@"fileBrowserState"] = controller.fileBrowserHistory;
if(NSString* projectPath = controller.defaultProjectPath)
res[@"projectPath"] = projectPath;
if(NSDictionary* history = controller.fileBrowserHistory)
res[@"fileBrowserState"] = history;
res[@"windowFrame"] = NSStringFromRect([controller.window frame]);
res[@"miniaturized"] = @([controller.window isMiniaturized]);