Fix a warning about the control logic in xchomp()

This commit is contained in:
David Nusinow 2007-10-11 22:24:31 -04:00
parent cdf29ff45a
commit a5089af726

View File

@ -284,8 +284,8 @@ xchomp(char *line)
len = strlen(line);
if (line[len - 1] == '\n' && len > 0) {
line[len - 1] = '\0';
return 0;
}
return 0;
}
GDevPtr