1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

typos and bug fix

This commit is contained in:
Alain Magloire 2003-02-01 02:39:19 +00:00
parent f5900614c5
commit 5e66ec902e

View file

@ -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();