Convert tab indentation to spaces. This is how normal people do it. :D

This commit is contained in:
Tiiffi
2024-12-06 23:41:17 +02:00
parent b1b46ca08c
commit 4a1da8d373

View File

@ -827,15 +827,5 @@ int get_line(char *buffer, int bsize)
buffer[strcspn(buffer, "\r\n")] = '\0'; buffer[strcspn(buffer, "\r\n")] = '\0';
int len = strlen(buffer); int len = strlen(buffer);
#if 0
// clean input buffer if needed
#ifndef _WIN32
if (len == bsize - 1) {
int ch;
while ((ch = getchar()) != '\n' && ch != EOF);
}
#endif
#endif
return len; return len;
} }