From 224e5d666dc005927d3931510a3c752e686fed9b Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Thu, 30 May 2013 17:12:18 -0700 Subject: [PATCH] Fix for segmentation fault when the settings file doesn't exist. --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 68f4e7bf19..4dd3dba178 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -774,9 +774,9 @@ void Application::readSettingsFile() { } } } - } - fclose(settingsFile); + fclose(settingsFile); + } } void Application::saveSettingsFile() {