Don't emit text records twice
authorJoey Schulze <joey@infodrom.org>
Wed, 15 Jul 2009 16:19:18 +0000 (16:19 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 15 Jul 2009 16:19:18 +0000 (16:19 +0000)
dtaus.c

diff --git a/dtaus.c b/dtaus.c
index 40ae489..1390159 100644 (file)
--- a/dtaus.c
+++ b/dtaus.c
@@ -989,6 +989,8 @@ void dtaus2control (char *cdtaus, char *ccontrol)
        fprintf(fcontrol, "{\n");
 
        for (index=C_NAME; index < C_LOOP; index++) {
+         if (index == C_TEXT || index == C_EXT)
+           continue;
 #ifndef DEFAULT_EURO
          if (use_euro && index == C_VAL)
            index = C_EUR;