Simplified the timebomb code a little to ease the build script problems.

This commit is contained in:
smeredith%netscape.com 2002-05-16 03:19:14 +00:00
Родитель 6ed464ef40
Коммит da3456cf87
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -44,7 +44,7 @@
#include "WizardUI.h"
#include "Interpret.h"
#ifdef TIMEBOMBDATE
#ifdef TIMEBOMB
#include "timebomb.h"
#endif
@ -128,11 +128,11 @@ BOOL CWizardMachineApp::InitInstance()
CWnd myWnd;
#ifdef TIMEBOMBDATE
#ifdef TIMEBOMB
// TIMEBOMBDATE is a string in mmddyyyy.
// For example, for oct 1, 2002: #define TIMEBOMBDATE "10012002"
// Or put this in the wizardmachine (driver) makefile: CFLAGS=$(CFLAGS) -DTIMEBOMBDATE=\"10012002\"
// The timebomb code lives in timebomb.h in the ns tree.
#define TIMEBOMBDATE "10012002"
CString strDate(TIMEBOMBDATE);
CString strMonth = strDate.Left(2);