c07b972 Fix memory corruption in genmacro. If the string is empty, don't start

Authored and Committed by dwmw2 19 years ago
    Fix memory corruption in genmacro. If the string is empty, don't start
        screwing with stuff at str[strlen(str)-1].
    
        
file modified
+6 -2