summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Magic2/Magic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Magic2/Magic.cpp b/Magic2/Magic.cpp
index 6160459..ab7b9ae 100644
--- a/Magic2/Magic.cpp
+++ b/Magic2/Magic.cpp
@@ -14,6 +14,7 @@
#include "stdafx.h"
#include "Magic.h"
+#include "Clock.h"
#include "MainFrm.h"
#include "MagicDoc.h"
#include "MagicView.h"
@@ -61,6 +62,7 @@ static void PrintLogHeader()
Magic::Magic()
{
+ Clock::Init();
PrintLogHeader();
}
@@ -70,6 +72,7 @@ Magic::~Magic()
Print(" END OF LINE.\n");
fclose(ErrLog);
+ Clock::Close();
}
// +--------------------------------------------------------------------+