From 9bf8629e1420fb0bc09103e747f7d9b18aa7f10d Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Wed, 21 Mar 2001 09:13:34 +0000 Subject: Bug fixes --- src/test.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/test.cc') diff --git a/src/test.cc b/src/test.cc index a557b69..fb67d24 100644 --- a/src/test.cc +++ b/src/test.cc @@ -23,7 +23,8 @@ char *method_names[] = { N_("0 - Binary Heap"), N_("1 - Binomial Heap"), N_("2 - Fibonacci Heap"), - N_("3 - Sorted chained list") + N_("3 - Sorted chained list"), + NULL }; char *menu[] = { @@ -35,7 +36,8 @@ char *menu[] = { N_("p - Print the current priority list on the screen"), N_("r - Remove the whole priority list"), N_("t - Test the priority list algorithms"), - N_("q - Quit") + N_("q - Quit"), + NULL }; void exception(int e, char *msg) @@ -96,7 +98,7 @@ void DoCombTest(int method, int number) } delete T; - cerr << "Ok.\n"; + cerr << _("Ok.\n"); } void FullTest(int method) @@ -284,7 +286,7 @@ int main(int argc, char **argv) } method = (*argv)[0] - '0'; } - + if (method == -1) method = 0; @@ -303,7 +305,7 @@ int main(int argc, char **argv) } initterm(input); - + /* Debut du programme de test. */ -- cgit v1.2.3