Remember which file a session was opened from, so it can be the default one
[u/mdw/putty] / mac / mac.h
index b93fd03..591919d 100644 (file)
--- a/mac/mac.h
+++ b/mac/mac.h
@@ -80,6 +80,8 @@ typedef struct Session {
     int                        raw_mouse;
     UnicodeToTextInfo  uni_to_font;  /* Only one of uni_to_font and     */
     charset_t          font_charset; /* font_charset is used at a time. */
+    int                        hasfile;
+    FSSpec             savefile;
 } Session;
 
 extern Session *sesslist;