diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-12 12:23:36 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-12 12:23:36 -0400 |
| commit | 009982c890f099e02026610970450efc0d666e1a (patch) | |
| tree | 266baf9c203554c411b4ff921ecbe1b774d83e9a /src | |
| parent | Release v0.1.1 (diff) | |
| download | cli-009982c890f099e02026610970450efc0d666e1a.zip | |
Remove unnecessary if statement
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -56,11 +56,6 @@ int justify(size_t linebuffer_capacity, FILE *in, FILE *out) { linebuffer_destroy(lb); return EXIT_SUCCESS; } - if (word_length > MAX_WORD_LENGTH) { - // TODO: If the word is too long for a given line, - // we should wrap it to the next line. - word[MAX_WORD_LENGTH] = '*'; - } if (!linebuffer_append_word(lb, word)) { linebuffer_write_justified(lb, out); linebuffer_clear(lb); |