From 5e66ec902e8d6a4cb4ca51f8efa939e5988e9e05 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Sat, 1 Feb 2003 02:39:19 +0000 Subject: [PATCH] typos and bug fix --- .../eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java index 9ab0fcea059..047fcf72927 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java @@ -60,7 +60,7 @@ public class MIInfoSignalsInfo extends MIInfo { // Pass the header and th tailer. // ~"Signal Stop\tPrint\tPass to program\tDescription\n" // ~"Use the \"handle\" command to change these tables.\n" - if (!str.startsWith("Signal ") && str.startsWith("Use ")) { + if (!str.startsWith("Signal ") && !str.startsWith("Use ")) { String signal = ""; boolean stop = false; boolean print = false; @@ -70,7 +70,7 @@ public class MIInfoSignalsInfo extends MIInfo { StringTokenizer tokenizer = new StringTokenizer(str); for (int i = 0; tokenizer.hasMoreTokens(); i++) { String sub = null; - if (i == 3) { + if (i == 4) { sub = tokenizer.nextToken("\n"); } else { sub = tokenizer.nextToken();