X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.cpp;h=5297830900e048ac32a77fe7f50de50ab50441b9;hb=6bcab27e89795df59defa160aff6b9831468c4d9;hp=2757c5ee61777a84408959fc52f178a436a9f9d9;hpb=f3c7d22b4544bb1d5c4471bceded6dc5b9ed57fd;p=ctsim.git diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 2757c5e..5297830 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: ctsim.cpp,v 1.115 2002/06/06 22:50:24 kevin Exp $ +** $Id: ctsim.cpp,v 1.117 2002/06/20 08:22:48 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -70,7 +70,7 @@ #endif #endif -static const char* rcsindent = "$Id: ctsim.cpp,v 1.115 2002/06/06 22:50:24 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.117 2002/06/20 08:22:48 kevin Exp $"; struct option CTSimApp::ctsimOptions[] = { @@ -119,9 +119,9 @@ CTSimApp::OnInit() case O_VERSION: std::cout << rcsindent << std::endl; #ifdef CTSIMVERSION - std::cout << "Version: CTSIMVERSION" << std::endl; + std::cout << "Version: " << CTSIMVERSION << std::endl; #elif defined(VERSION) - std::cout << "Version: VERSION" << std::endl; + std::cout << "Version: " << VERSION << std::endl; #endif exit(0); case O_HELP: @@ -186,7 +186,7 @@ CTSimApp::OnInit() int xSize, ySize; m_pFrame->GetClientSize(&xSize, &ySize); int yLogSize = ySize / 4; - m_pLogDoc->getView()->getFrame()->SetClientSize (0, ySize - yLogSize, xSize, yLogSize); + m_pLogDoc->getView()->getFrame()->SetSize (0, ySize - yLogSize, xSize, yLogSize); m_pLogDoc->getView()->getFrame()->Show (true); } else #else