diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-03 12:05:11 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-03 12:05:11 -0500 |
commit | 6f7c1546d6f57160644745429c13c5c9e8ca5b2e (patch) | |
tree | 9228cbfa495c6b9309c9c737c7577d71eb4cd731 /main.c | |
parent | 31b4505161f19e7b94cdd224bd4a3049970a0988 (diff) |
finally figured out what wasn't working with buffer_set_line_len!
hooray!!!!!
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -288,7 +288,6 @@ int main(int argc, char **argv) { setlocale(LC_ALL, ""); // allow unicode - printf("%p\n",ted); // @TODO: delete me // read command-line arguments char const *starting_filename = NULL; @@ -849,7 +848,7 @@ int main(int argc, char **argv) { } } - #if DEBUG + #if !NDEBUG for (u16 i = 0; i < TED_MAX_BUFFERS; ++i) if (ted->buffers_used[i]) buffer_check_valid(&ted->buffers[i]); |