Skip to content

Commit

Permalink
Fix whitespace on PR #96.
Browse files Browse the repository at this point in the history
Thanks git, you're awesome.
  • Loading branch information
pjf committed Oct 19, 2014
1 parent 82d9928 commit 801dc37
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CKAN/GUI/ControlFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ControlFactory

public ControlFactory()
{
m_MainThreadID = Thread.CurrentThread.ManagedThreadId;
m_MainThreadID = Thread.CurrentThread.ManagedThreadId;
}

public T CreateControl<T>() where T : new()
Expand Down
30 changes: 15 additions & 15 deletions CKAN/GUI/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ public Main()
m_Instance = this;
InitializeComponent();

RecreateDialogs ();
RecreateDialogs ();
}

public void RecreateDialogs()
{
m_ApplyChangesDialog = controlFactory.CreateControl<ApplyChangesDialog>();
m_ErrorDialog = controlFactory.CreateControl<ErrorDialog>();
m_RecommendsDialog = controlFactory.CreateControl<RecommendsDialog>();
m_SettingsDialog = controlFactory.CreateControl<SettingsDialog>();
m_WaitDialog = controlFactory.CreateControl<WaitDialog>();
m_YesNoDialog = controlFactory.CreateControl<YesNoDialog>();
}
public void RecreateDialogs()
{
m_ApplyChangesDialog = controlFactory.CreateControl<ApplyChangesDialog>();
m_ErrorDialog = controlFactory.CreateControl<ErrorDialog>();
m_RecommendsDialog = controlFactory.CreateControl<RecommendsDialog>();
m_SettingsDialog = controlFactory.CreateControl<SettingsDialog>();
m_WaitDialog = controlFactory.CreateControl<WaitDialog>();
m_YesNoDialog = controlFactory.CreateControl<YesNoDialog>();
}

public static Main Instance
{
Expand Down Expand Up @@ -151,12 +151,12 @@ private void _UpdateModInfo(CkanModule module)
ModInfo.AppendText(String.Format("Download: {0}\r\n", module.download));
ModInfo.AppendText(String.Format("Identifier: {0}\r\n", module.identifier));

if (module.ksp_version != null)
{
ModInfo.AppendText (String.Format ("KSP Version: {0}\r\n", module.ksp_version));
}
if (module.ksp_version != null)
{
ModInfo.AppendText (String.Format ("KSP Version: {0}\r\n", module.ksp_version));
}

ModInfo.AppendText(String.Format("License: {0}\r\n", module.license.ToString()));
ModInfo.AppendText(String.Format("License: {0}\r\n", module.license.ToString()));
ModInfo.AppendText(String.Format("Release status: {0}\r\n", module.release_status));

ModInfo.AppendText("\r\n");
Expand Down

0 comments on commit 801dc37

Please sign in to comment.