Skip to content

Commit

Permalink
Add .editorconfig file.
Browse files Browse the repository at this point in the history
  • Loading branch information
TsudaKageyu committed Oct 29, 2014
1 parent b181667 commit 4517040
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Windows-style newlines with a newline ending every file
[*]
end_of_line = crlf
insert_final_newline = true

# 4 space indentation
[*.cs]
indent_style = space
indent_size = 4

# Trim trailing whitespaces
[*.cs]
trim_trailing_whitespace = true

# UTF-8 with BOM
[*.cs]
charset=utf-8-bom
6 changes: 3 additions & 3 deletions IconExtractor/IconExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ public class IconExtractor
////////////////////////////////////////////////////////////////////////
// Fields

private List<byte[]> iconData = null; // Binary data of each icon.
private List<byte[]> iconData = null; // Binary data of each icon.

////////////////////////////////////////////////////////////////////////
// Public properties

/// <summary>
/// Gets the full path of the associated file.
/// Gets the full path of the associated file.
/// </summary>
public string FileName
{
Expand Down Expand Up @@ -130,7 +130,7 @@ private void Initialize(string fileName)

FileName = GetFileName(hModule);

// Enumerate the icon resource and build .ico files in memory.
// Enumerate the icon resource and build .ico files in memory.

iconData = new List<byte[]>();

Expand Down

0 comments on commit 4517040

Please sign in to comment.