From e94704a2fe3526b20472f03568e3466927745e4b Mon Sep 17 00:00:00 2001
From: George Weigt <gweigt@users.sourceforge.net>
Date: Tue, 29 Jun 2004 17:31:17 -0700
Subject: [PATCH] Misc.

---
 MainXP.cpp | 5 +++--
 Makefile   | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/MainXP.cpp b/MainXP.cpp
index c76bd28..1fada12 100644
--- a/MainXP.cpp
+++ b/MainXP.cpp
@@ -22,6 +22,7 @@
 #include <time.h>
 
 extern void run(char *);
+extern void clear(void);
 extern void draw_display(void);
 extern void printstr(char *);
 extern void update_cmd_history(char *);
@@ -362,7 +363,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
 
 	main_window = CreateWindow(
 		"Eigenmath",
-		"Eigenmath 101",
+		"Eigenmath 102",
 		WS_OVERLAPPEDWINDOW /* | WS_VSCROLL */ ,
 		CW_USEDEFAULT, 0,
 		CW_USEDEFAULT, 0,
@@ -1951,7 +1952,6 @@ static HANDLE thread;
 static DWORD WINAPI
 task(LPVOID p)
 {
-	clear();
 	run_hdc = GetDC(main_window);
 	run(inp);
 	ReleaseDC(main_window, run_hdc);
@@ -2098,6 +2098,7 @@ run_script(void)
 	inp = (char *) malloc(len + 1);
 	GetWindowText(edit_window, inp, len + 1);
 	goto_calc_mode();
+	clear();
 	create_task();
 }
 
diff --git a/Makefile b/Makefile
index 871c25c..c8bbfda 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,12 @@
 #
 # 1. Unpack the tarball.
 #
-#	$ tar zxf math.tar.gz
+#	$ tar zxf math102.tar.gz
 #
 # 2. Compile it. (For Power PC and other big endian machines, first add -DMAC
 #    to CFLAGS below.)
 #
-#	$ cd math
+#	$ cd math102
 #	$ make
 #
 # 3. Test it.