mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Fix crash in mdb help command.
trace/mercury_trace_help.c:
Fix swapped arguments in call to ML_HELP_print_top_level_help_nodes.
This bug was introduced in commit a06ae2c6ef
This commit is contained in:
@@ -119,8 +119,8 @@ MR_trace_help(void)
|
||||
MR_c_file_to_mercury_file(MR_mdb_out, &mdb_out);
|
||||
|
||||
MR_TRACE_CALL_MERCURY(
|
||||
ML_HELP_print_top_level_help_nodes(MR_trace_help_system,
|
||||
MR_wrap_output_stream(&mdb_out));
|
||||
ML_HELP_print_top_level_help_nodes(MR_wrap_output_stream(&mdb_out),
|
||||
MR_trace_help_system);
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user