don't allow double in first position either
diff --git a/nysiis.c b/nysiis.c
index d21f299..14bfac5 100644
--- a/nysiis.c
+++ b/nysiis.c
@@ -150,7 +150,7 @@
}
// Step 6
- if (*cp != *(cp - 1) || cp == code + 1) {
+ if (*cp != *(cp - 1)) {
cp++;
}
diff --git a/test.py b/test.py
index aa188c4..0946c09 100644
--- a/test.py
+++ b/test.py
@@ -109,7 +109,7 @@
("Jonathan", "JANATAN"),
("John", "JAN"),
("Teresa", "TARAS"),
- #("Theresa", "TARAS"),
+ ("Theresa", "TARAS"),
("Jessica", "JASAC"),
("Joshua", "JAS"),
("Bosch", "BAS"),