Commit 38af1e46 authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in cdh_SuppressSuperAll

parent 5f6d4663
...@@ -2689,11 +2689,14 @@ void cdh_SuppressSuperAll( char *out, char *in) ...@@ -2689,11 +2689,14 @@ void cdh_SuppressSuperAll( char *out, char *in)
{ {
char *s, *t; char *s, *t;
for ( s = in, t = out; *s; s++,t++) { for ( s = in, t = out; *s;) {
if ( strncmp( s, "Super.", 6) == 0) if ( strncmp( s, "Super.", 6) == 0)
s += 6; s += 6;
else else {
*t = *s; *t = *s;
s++;
t++;
}
} }
*t = 0; *t = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment