Skip to content

Commit

Permalink
add subscript to cmd_read_line reference (z390development#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyganci authored Mar 22, 2024
1 parent f1c6830 commit 770b56b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sz390.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public class sz390 implements Runnable {
* replace non-printable with '.' in PRN, BAL, PCH
* 2023-08-07 Issue #515. Display FPC contents in interactive debug mode
* and when displaying floating-point registers in SNAP or DUMP.
^ 2024-02-26 Issue #463 Add missing subscript to cmd_read_line reference
********************************************************
* Global variables (last RPI)
*****************************************************/
Expand Down Expand Up @@ -4402,7 +4403,7 @@ && cmd_proc_rc(cmd_id) == -1
cmd_read_line[cmd_id] = null;
}
}
if (cmd_read_line != null){
if (cmd_read_line[cmd_id] != null){ // #463
put_ascii_string(cmd_read_line[cmd_id],pz390.reg.getInt(pz390.r1),pz390.reg.getInt(pz390.r2),' ');
pz390.reg.putInt(pz390.r15,0);
} else if (cmd_proc_running[cmd_id]
Expand Down

0 comments on commit 770b56b

Please sign in to comment.