Skip to content

Commit

Permalink
Fixed setup_prolog_locale/0.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Nov 16, 2024
1 parent 39d29f2 commit edefcf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/prolog_locale.pl
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
]),
set_locale(prolog),
add_write_option(answer_write_options, integer_format('~:d')),
add_write_option(debug_write_options, integer_format('~:d')),
add_write_option(debugger_write_options, integer_format('~:d')),
add_write_option(print_write_options, integer_format('~:d')).

add_write_option(Set, Option) :-
current_prolog_flag(Set, List),
add_write_option(Set, Option),
current_prolog_flag(Set, List) =>
set_prolog_flag(Set, [Option|List]).

0 comments on commit edefcf3

Please sign in to comment.