Subversion Repositories wimsdev

Rev

Rev 8195 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8195 Rev 18520
Line 117... Line 117...
117
      *p2++=*p1;
117
      *p2++=*p1;
118
      if(p1[1] && !myisspace(p1[1])) *p2++=' ';
118
      if(p1[1] && !myisspace(p1[1])) *p2++=' ';
119
    }
119
    }
120
    if(p2>=buf+MAX_LINELEN) sym_error("string_too_long");
120
    if(p2>=buf+MAX_LINELEN) sym_error("string_too_long");
121
    *p2=0;
121
    *p2=0;
122
    snprintf(p,MAX_LINELEN,"%s",buf);
122
    snprintf(p,MAX_LINELEN+1,"%s",buf);
123
}
123
}
124
 
124
 
125
void alphaonly(char *p)
125
void alphaonly(char *p)
126
{
126
{
127
    char *pp;
127
    char *pp;