From 10b407e51dfced7906f37b9de9ed4d5a575d5af9 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 13 Jul 2012 10:58:49 +0000 Subject: [PATCH] - Remove the string "-r16084" from the title bar but not other SVN rev numbers. --- src/main/java/forge/model/BuildInfo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/model/BuildInfo.java b/src/main/java/forge/model/BuildInfo.java index 893e0676598..cd7beb2281c 100644 --- a/src/main/java/forge/model/BuildInfo.java +++ b/src/main/java/forge/model/BuildInfo.java @@ -123,8 +123,10 @@ public class BuildInfo { // Chris' dev system but not on Dave's dev system. We should note that many // users are refering to the snapshot build by only using the SVS rev number // and the code below may convince them to instead use the date of the archive. - if (result.endsWith("-r15897")) { - result = result.replace("-r15897", ""); + // Note that the number appears to change at some point, now removing: + // r16084 + if (result.endsWith("-r16084")) { + result = result.replace("-16084", ""); } return result; }