mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fixed minor bug in UpdateAssemblyInfo - thx xylographe :)
This commit is contained in:
parent
c36daffe0b
commit
a81c299689
@ -54,8 +54,8 @@ namespace UpdateAssemblyInfo
|
||||
if (end > begin && begin > 0)
|
||||
{
|
||||
begin++;
|
||||
string oldVersion = original.Substring(begin, end - begin);
|
||||
if (oldVersion != versionInfo.Version)
|
||||
string oldRevisionGuid = original.Substring(begin, end - begin);
|
||||
if (oldRevisionGuid != versionInfo.RevisionGuid)
|
||||
{
|
||||
change = true;
|
||||
original = original.Substring(0, begin) + versionInfo.RevisionGuid + original.Remove(0, end);
|
||||
|
Loading…
Reference in New Issue
Block a user