Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of ZVersionInfo().... is brittle. #53

Open
Astn opened this issue Aug 13, 2017 · 0 comments
Open

Usage of ZVersionInfo().... is brittle. #53

Astn opened this issue Aug 13, 2017 · 0 comments

Comments

@Astn
Copy link
Member

Astn commented Aug 13, 2017

Stuff like this needs to be handled in a way that is not so brittle.

WinTrek.cpp::TrekWindowImpl::ShowMainMenu ln # 4145

			ZString dVer, dYY, dMM, dDD;
			dVer = ZVersionInfo().GetStringValue("FileVersion").Right(6);
			dR = ZVersionInfo().GetProductVersionString().Middle(3,1); // TODO: Imago good till R10
			dDD = dVer.Right(2);
			dMM = dVer.Middle(2,2);
			dYY = dVer.Middle(0,2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant