aboutsummaryrefslogblamecommitdiffstats
path: root/src/utilfuns/greekpatch
blob: 3a6d20c277fec2307ac17683caeb4d34c9f59fcd (plain) (tree)


















                                                                                       
--- Greek2Greek.cpp.orig	Thu Feb 26 15:19:39 1998
+++ Greek2Greek.cpp	Thu Feb 26 03:33:09 1998
@@ -118,6 +118,7 @@
             sResult[characters++] = tmp;           // Insert char
       }
    }
+   sResult[characters] = 0;					// Terminate the string
 
    return index;
 }
@@ -209,6 +210,8 @@
 
       fSigma = iota = breathing = rough = false;
    }
+
+   sResult[index] = 0;					// Terminate the string
 
    return characters;
 }