Sun, 10 Nov 2024 13:54:17 +0100
fix zero-terminator written to wrong position when encountering too long lines - fixes #490
/* * Many Files have license headers. */ // And add other stuff below. int main(int argc, char** argv) { // comments behind code don't matter int zero /* in block comments we are genius enough to * detect, if there is still some code in the line */ = 0; /* otherwise the whole comment is * not counted*/ // this holds also for this empty line return zero; } /* rare case, but must also work: last line is a comment */