Skip to content

Commit 734be47

Browse files
committed
Fixed some syntax in commit that also closes #173 and closes #172
1 parent fc0e792 commit 734be47

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

load/dmbase.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,16 @@ msg_base = {
591591
console.putmsg("mBase.last_msg = " + mBase.last_msg + "\n");
592592
}
593593

594-
if (forward) {inc = 1;} else {inc = -1;}
594+
if (forward) {
595+
inc = 1;
596+
} else {
597+
inc = -1;
598+
}
595599

596600
// if starting in reverse from the room prompt, unskip one message
597-
if (!forward) tmpPtr += 1; // so we start with the most recently read
601+
if (!forward) {
602+
tmpPtr += 1; // so we start with the most recently read
603+
}
598604
// message. In all other cases we want to skip one.
599605

600606
if (userSettings.debug.message_scan) {

0 commit comments

Comments
 (0)