diff --git a/xtrn/DDMsgReader/DDMsgReader.js b/xtrn/DDMsgReader/DDMsgReader.js index 92efac5af2fd0e0b8d5a28c0c64c6561a8d7c0c0..6aea1cc93aa65c0032ab520e0fccc526537c9623 100644 --- a/xtrn/DDMsgReader/DDMsgReader.js +++ b/xtrn/DDMsgReader/DDMsgReader.js @@ -161,6 +161,8 @@ * to save messages to. Can be empty, to use a full path inputted by the user. * 2024-08-12 Eric Oulashin Version 1.95g * Updates to help with the newscan issues placing the user at the first message, etc. + * 2024-09-03 Eric Oulashin Version 1.95h + * Fix for saving an ANSI message to the local BBS PC */ "use strict"; @@ -276,8 +278,8 @@ var hexdump = load('hexdump_lib.js'); */ // Reader version information -var READER_VERSION = "1.95g"; -var READER_DATE = "2024-08-12"; +var READER_VERSION = "1.95h"; +var READER_DATE = "2024-09-03"; // Keyboard key codes for displaying on the screen var UP_ARROW = ascii(24); @@ -17059,7 +17061,7 @@ function DigDistMsgReader_SaveMsgToFile(pMsgHdr, pFilename, pPromptPos) //var graphic = new Graphic(this.msgAreaWidth, this.msgAreaHeight); // To help ensure ANSI messages look good, it seems the Graphic object should have // its with later set to 1 less than the width used to create it. - var graphicWidth = (msgAreaWidth < console.screen_columns ? msgAreaWidth+1 : console.screen_columns); + var graphicWidth = (this.msgAreaWidth < console.screen_columns ? this.msgAreaWidth+1 : console.screen_columns); var graphic = new Graphic(graphicWidth, this.msgAreaHeight); graphic.auto_extend = true; graphic.ANSI = ansiterm.expand_ctrl_a(msgBody); diff --git a/xtrn/DDMsgReader/ddmr_cfg.js b/xtrn/DDMsgReader/ddmr_cfg.js index bbbe1248df95b14352646aad78b378708b50952b..098564017bbb2029277b86b70a0bd448777d8198 100644 --- a/xtrn/DDMsgReader/ddmr_cfg.js +++ b/xtrn/DDMsgReader/ddmr_cfg.js @@ -5,7 +5,7 @@ // If you have DDMsgReader in a directory other than xtrn/DDMsgReader, then the changes to // DDMsgReader.cfg will be saved in that directory (assuming you're running ddmr_cfg.js from // that same directory). -// Currently for DDMsgReader 1.95g. +// Currently for DDMsgReader 1.95h. // // If you're running DDMsgReader from xtrn/DDMsgReader (the standard location) and you want // to save the configuration file there (rather than sbbs/mods), you can use one of the @@ -18,7 +18,7 @@ require("sbbsdefs.js", "P_NONE"); require("uifcdefs.js", "UIFC_INMSG"); -if (!uifc.init("DigDist. Message Reader 1.95g Configurator")) +if (!uifc.init("DigDist. Message Reader 1.95h Configurator")) { print("Failed to initialize uifc"); exit(1); diff --git a/xtrn/DDMsgReader/readme.txt b/xtrn/DDMsgReader/readme.txt index ff012a715955e78f71e48655f905dc2db2b6d668..6a68cb259a92514b52a94511ed7afb02e72a8dce 100644 --- a/xtrn/DDMsgReader/readme.txt +++ b/xtrn/DDMsgReader/readme.txt @@ -1,6 +1,6 @@ Digital Distortion Message Reader - Version 1.95g - Release date: 2024-08-12 + Version 1.95h + Release date: 2024-09-03 by diff --git a/xtrn/DDMsgReader/revision_history.txt b/xtrn/DDMsgReader/revision_history.txt index 9ac3d777098f8b1c50130aacd242b83f0ede02b4..dd31ef905f2e6f52fc2e1adccc0d31e9660ae180 100644 --- a/xtrn/DDMsgReader/revision_history.txt +++ b/xtrn/DDMsgReader/revision_history.txt @@ -5,6 +5,7 @@ Revision History (change log) ============================= Version Date Description ------- ---- ----------- +1.95h 2024-09-03 Fix for saving an ANSI message to the local BBS PC 1.95g 2024-08-12 Updates to help with the newscan issues placing the user at the first message, etc. 1.95f 2024-08-08 New config option: msgSaveDir, which specifies the