From: Holger Schemel Date: Sat, 21 Oct 2017 16:42:22 +0000 (+0200) Subject: added displaying fake version as 'fake' on the version info screen X-Git-Tag: 4.1.0.0~85 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0f007d1d01007a58b0493c60143f2b0bf58ff1b1;p=rocksndiamonds.git added displaying fake version as 'fake' on the version info screen --- diff --git a/src/screens.c b/src/screens.c index ab1d2be1..b67573e6 100644 --- a/src/screens.c +++ b/src/screens.c @@ -3308,16 +3308,22 @@ void DrawInfoScreen_Version() DrawTextF(xstart1, ystart2, font_header, "Name"); DrawTextF(xstart2, ystart2, font_text, getProgramTitleString()); - ystart2 += ystep; - DrawTextF(xstart1, ystart2, font_header, "Version"); - DrawTextF(xstart2, ystart2, font_text, getProgramVersionString()); - if (!strEqual(getProgramVersionString(), getProgramRealVersionString())) { + ystart2 += ystep; + DrawTextF(xstart1, ystart2, font_header, "Version (fake)"); + DrawTextF(xstart2, ystart2, font_text, getProgramVersionString()); + ystart2 += ystep; DrawTextF(xstart1, ystart2, font_header, "Version (real)"); DrawTextF(xstart2, ystart2, font_text, getProgramRealVersionString()); } + else + { + ystart2 += ystep; + DrawTextF(xstart1, ystart2, font_header, "Version"); + DrawTextF(xstart2, ystart2, font_text, getProgramVersionString()); + } ystart2 += ystep; DrawTextF(xstart1, ystart2, font_header, "Platform");