fix trailing whitespace everywhere
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#region Copyright & License Information
|
||||
/*
|
||||
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
|
||||
* This file is part of OpenRA, which is free software. It is made
|
||||
* This file is part of OpenRA, which is free software. It is made
|
||||
* available to you under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation. For more information,
|
||||
* see COPYING.
|
||||
@@ -25,7 +25,7 @@ namespace fixheader
|
||||
peOffset = BitConverter.ToInt32(data, 0x3c);
|
||||
var corHeaderRva = BitConverter.ToInt32(data, peOffset + 20 + 100 + 14 * 8);
|
||||
var corHeaderOffset = RvaToOffset(corHeaderRva);
|
||||
|
||||
|
||||
data[corHeaderOffset + 16] |= 2;
|
||||
|
||||
File.WriteAllBytes(args[0], data);
|
||||
@@ -36,7 +36,7 @@ namespace fixheader
|
||||
var numSections = BitConverter.ToInt16(data, peOffset + 6);
|
||||
var numDataDirectories = BitConverter.ToInt32(data, peOffset + 24 + 92);
|
||||
var sectionTableStart = peOffset + 24 + 96 + 8 * numDataDirectories;
|
||||
|
||||
|
||||
for (var i = 0; i < numSections; i++)
|
||||
{
|
||||
var virtualSize = BitConverter.ToInt32(data, sectionTableStart + 40 * i + 8);
|
||||
|
||||
Reference in New Issue
Block a user