Now that we have `appname', make much wider use of it. In
[u/mdw/putty] / be_all.c
index a48cc70..024a39e 100644 (file)
--- a/be_all.c
+++ b/be_all.c
@@ -6,6 +6,16 @@
 #include <stdio.h>
 #include "putty.h"
 
+/*
+ * This appname is not strictly in the right place, since Plink
+ * also uses this module. However, Plink doesn't currently use any
+ * of the dialog-box sorts of things that make use of appname, so
+ * it shouldn't do any harm here. I'm trying to avoid having to
+ * have tiny little source modules containing nothing but
+ * declarations of appname, for as long as I can...
+ */
+const char *const appname = "PuTTY";
+
 #ifdef TELNET_DEFAULT
 const int be_default_protocol = PROT_TELNET;
 #else