Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
e00273b8
Commit
e00273b8
authored
2 years ago
by
Eric Oulashin
Committed by
Rob Swindell
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DDMsgreader: Fix for "assignment to undeclared variable" error
parent
33c42d38
No related branches found
No related tags found
2 merge requests
!463
MRC mods by Codefenix (2024-10-20)
,
!234
DDMsgreader: Fix for "assignment to undeclared variable" error
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
xtrn/DDMsgReader/DDMsgReader.js
+5
-3
5 additions, 3 deletions
xtrn/DDMsgReader/DDMsgReader.js
xtrn/DDMsgReader/readme.txt
+2
-2
2 additions, 2 deletions
xtrn/DDMsgReader/readme.txt
xtrn/DDMsgReader/revision_history.txt
+1
-0
1 addition, 0 deletions
xtrn/DDMsgReader/revision_history.txt
with
8 additions
and
5 deletions
xtrn/DDMsgReader/DDMsgReader.js
+
5
−
3
View file @
e00273b8
...
...
@@ -64,6 +64,8 @@
* also checks to make sure the sender is a sysop. Also, used putmsg() in
* place of this script's own @-message parsing when displaying some of the
* configured text strings.
* 2022-12-12 Eric Oulashin Fix for "assignment to undeclared variable" error in GetMsgSubBrdLine();
* appeared when changing to a different message area from the reader
*/
"use strict";
...
...
@@ -168,8 +170,8 @@ var ansiterm = require("ansiterm_lib.js", 'expand_ctrl_a');
// Reader version information
var READER_VERSION = "1.57";
var READER_DATE = "2022-12-
0
2";
var READER_VERSION = "1.57
.1
";
var READER_DATE = "2022-12-
1
2";
// Keyboard key codes for displaying on the screen
var UP_ARROW = ascii(24);
...
...
@@ -11940,7 +11942,7 @@ function DigDistMsgReader_GetMsgSubBrdLine(pGrpIndex, pSubIndex, pHighlight)
if (numMsgs > 0)
{
// Get the header of the last message in the sub-board
msgHeader = null;
var
msgHeader = null;
var msgOffset = msgBase.total_msgs - 1;
while (!isReadableMsgHdr(msgHeader, msg_area.grp_list[pGrpIndex].sub_list[pSubIndex].code) && (msgOffset >= 0))
msgHeader = msgBase.get_msg_header(true, --msgOffset, true);
...
...
This diff is collapsed.
Click to expand it.
xtrn/DDMsgReader/readme.txt
+
2
−
2
View file @
e00273b8
Digital Distortion Message Reader
Version 1.57
Release date: 2022-12-
0
2
Version 1.57
.1
Release date: 2022-12-
1
2
by
...
...
This diff is collapsed.
Click to expand it.
xtrn/DDMsgReader/revision_history.txt
+
1
−
0
View file @
e00273b8
...
...
@@ -5,6 +5,7 @@ Revision History (change log)
=============================
Version Date Description
------- ---- -----------
1.57.1 2022-12-12 Fix for "assignment to undeclared variable" error
1.57 2022-12-02 @-codes were only expanded when reading personal mail;
now, DDMsgReader also checks to make sure the sender is a
sysop.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment