diff --git a/Source/Core/Common/Common.vcxproj b/Source/Core/Common/Common.vcxproj
index 705daae67d..d29043eb7d 100644
--- a/Source/Core/Common/Common.vcxproj
+++ b/Source/Core/Common/Common.vcxproj
@@ -259,8 +259,6 @@
-
-
diff --git a/Source/Core/Common/Common.vcxproj.filters b/Source/Core/Common/Common.vcxproj.filters
index fecf4819f6..0922d00196 100644
--- a/Source/Core/Common/Common.vcxproj.filters
+++ b/Source/Core/Common/Common.vcxproj.filters
@@ -87,8 +87,6 @@
-
-
diff --git a/Source/Core/Common/make_scmrev.h.js b/Source/Core/Common/make_scmrev.h.js
index 7d7290c75b..a4b2369ca6 100644
--- a/Source/Core/Common/make_scmrev.h.js
+++ b/Source/Core/Common/make_scmrev.h.js
@@ -44,12 +44,11 @@ function GetFirstStdOutLine(cmd)
}
}
-function GetRevFromFile(f)
+function GetFileContents(f)
{
try
{
- // read the current hash
- return oFS.OpenTextFile(f).ReadAll().match(/SCM_REV_STR\s+"([0-9a-f]+)/)[1];
+ return oFS.OpenTextFile(f).ReadAll();
}
catch (e)
{
@@ -76,7 +75,7 @@ var out_contents =
"#define SCM_IS_MASTER " + isMaster + "\n";
// check if file needs updating
-if (revision == GetRevFromFile(outfile))
+if (out_contents == GetFileContents(outfile))
{
WScript.Echo(outfile + " doesn't need updating (already at " + revision + ")");
}