Skip to content

Commit

Permalink
Insert final newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Oct 22, 2022
1 parent 629343d commit b2df8a9
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ charset = utf-8
end_of_line = crlf
indent_style = tab
indent_size = 2
insert_final_newline = unset
insert_final_newline = true
trim_trailing_whitespace = true

[*.csproj]
Expand All @@ -38,7 +38,7 @@ tab_width = 4
# New line preferences
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = unset
insert_final_newline = true

#### .NET Coding Conventions ####

Expand Down
2 changes: 1 addition & 1 deletion ClientCore/ClientConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,4 @@ public ClientConfigurationException(string message) : base(message)
{
}
}
}
}
2 changes: 1 addition & 1 deletion ClientCore/CnCNet5/GameCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ public GameCollectionConfigurationException(string message) : base(message)
{
}
}
}
}
2 changes: 1 addition & 1 deletion ClientCore/INIProcessing/PreprocessorBackgroundTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ private static void CheckFiles()
Logger.Log("Ended background processing of INI files.");
}
}
}
}
2 changes: 1 addition & 1 deletion ClientCore/OSVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
WIN7,
WIN810,
UNIX
}
}
2 changes: 1 addition & 1 deletion ClientCore/PlatformShim/EncodingExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ static EncodingExt()
/// ANSI doesn't mean a specific codepage, it means the default non-Unicode codepage which can be changed from Control Panel.
/// </summary>
public static Encoding ANSI { get; }
}
}
2 changes: 1 addition & 1 deletion ClientCore/ProcessLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ public static void StartShellProcess(string commandLine)
});
}
}
}
}
2 changes: 1 addition & 1 deletion ClientCore/ProgramConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ public static string GetAILevelName(int aiLevel)
ProcessLauncher.StartShellProcess(LogFileName);
};
}
}
}
2 changes: 1 addition & 1 deletion ClientCore/Settings/UserINISettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,4 @@ public void ResetGameFilters()
MaxPlayerCount.Value = DEFAULT_MAX_PLAYER_COUNT;
}
}
}
}
2 changes: 1 addition & 1 deletion ClientGUI/XNALinkButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public override void OnLeftClick()
base.OnLeftClick();
}
}
}
}
2 changes: 1 addition & 1 deletion DTAConfig/Settings/SettingCheckBoxBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ private void UpdateAllowChecking()
}

}
}
}
2 changes: 1 addition & 1 deletion DTAConfig/Settings/SettingDropDownBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ public override void ParseAttributeFromINI(IniFile iniFile, string key, string v

public abstract bool Save();
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/GameClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ public GraphicsModeInitializationException(string message) : base(message)
{
}
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/Generic/GameInProgressWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,4 +388,4 @@ private void ProcessScreenshots()
}
#endif
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/Generic/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,4 +1035,4 @@ private void LaunchMapEditor()

public string GetSwitchName() => "Main Menu".L10N("UI:Main:MainMenu");
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/Generic/ManualUpdateQueryWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ public void SetInfo(string version, string downloadUrl)
lblDescription.Text = string.Format(descriptionText, version);
}
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/IMessageView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ public interface IMessageView
{
void AddMessage(ChatMessage message);
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Domain/FinalSunSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ public static void WriteFinalSunIni()
}
}
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Domain/Multiplayer/MapPreviewExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,4 @@ private static Image CreatePreviewBitmapFromImageData(int width, int height, byt
}
}
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Online/CnCNetUserData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ public IdentEventArgs(string ident)

public string Ident { get; }
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Online/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1062,4 +1062,4 @@ private void AddSpecialQueuedMessage(QueuedMessage qm)

#endregion
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Online/IUserCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public interface IUserCollection<T>
void Reinsert(string username);
bool Remove(string username);
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/PreStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,4 +318,4 @@ private static bool UserHasDirectoryAccessRights(string path, FileSystemRights a
return isInRoleWithAccess;
}
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ private static Assembly DefaultAssemblyLoadContextOnResolving(AssemblyLoadContex
}
#endif
}
}
}
2 changes: 1 addition & 1 deletion DXMainClient/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,4 @@ private static void WriteInstallPathToRegistry()
}
}
}
}
}

0 comments on commit b2df8a9

Please sign in to comment.