"I don't think that bit means what I think it means", if you see what I mean.
[u/mdw/putty] / mac / mac_res.r
index d0a4f78..9b38f9d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.8 2002/12/31 01:40:14 ben Exp $ */
+/* $Id: mac_res.r,v 1.14 2003/01/15 23:46:11 ben Exp $ */
 /*
  * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
 # include "Types.r"
 # include "Dialogs.r"
 # include "Palettes.r"
+# include "Script.r"
 
 /* Get resource IDs we share with C code */
 #include "macresid.h"
 
 /*
+ * Current PuTTY version number.  Minor is in BCD
+ */
+#define VERSION_MAJOR 0x00
+#define VERSION_MINOR 0x53
+
+/*
  * Finder-related resources
  */
 
@@ -56,7 +63,7 @@ resource 'SIZE' (-1) {
     reserved,
     ignoreSuspendResumeEvents,
     reserved,
-    cannotBackground,
+    canBackground,
     needsActivateOnFGSwitch,
     backgroundAndForeground,
     dontGetFrontClicks,
@@ -65,7 +72,7 @@ resource 'SIZE' (-1) {
     notHighLevelEventAware,
     onlyLocalHLEvents,
     notStationeryAware,
-    useTextEditServices,
+    dontUseTextEditServices,
     reserved,
     reserved,
     reserved,
@@ -344,14 +351,14 @@ resource 'icl8' (130, purgeable) {
 
 resource 'vers' (1, purgeable) {
     /* XXX This needs to be updated for each new version */
-    0x00, 0x53,
+    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
     beta,
 #else
     development,
 #endif
     0, /* No prerelease version */
-    2, /* Region code 2 = UK */
+    verBritain,
 #ifdef RELEASESTR
     RELEASESTR,
     "Release " RELEASESTR,
@@ -368,14 +375,14 @@ resource 'vers' (1, purgeable) {
 
 resource 'vers' (2, purgeable) {
     /* XXX This needs to be updated for each new version */
-    0x00, 0x53,
+    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
     beta,
 #else
     development,
 #endif
     0, /* No prerelease version */
-    2, /* Region code 2 = UK */
+    verBritain,
 #ifdef RELEASESTR
     RELEASESTR,
     "PuTTY " RELEASESTR,
@@ -568,7 +575,7 @@ type 'TEXT' {
 };
 
 resource 'TEXT' (wLicence, "licence", purgeable) {
-    "PuTTY is copyright 1997-2001 Simon Tatham.\n"
+    "PuTTY is copyright 1997-2003 Simon Tatham.\n"
     "\n"
     "Portions copyright Robert de Bath, Joris van Rantwijk, Delian"
     "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,"
@@ -595,5 +602,3 @@ resource 'TEXT' (wLicence, "licence", purgeable) {
     "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
     "SOFTWARE."
 };
-
-read 'pTST' (128, "test data", purgeable) "fragment";