shithub: orca

Download patch

ref: e3c916bece6f6906cbad9ad4d1e48c240200d2d0
parent: 97243eb5677b1446848a5cd8f489419ce68ad94c
author: cancel <cancel@cancel.fm>
date: Fri Jan 3 17:13:39 EST 2020

Cleanup

--- a/tui_main.c
+++ b/tui_main.c
@@ -2865,7 +2865,7 @@
       if (key >= CHAR_MIN && key <= CHAR_MAX) {
         if ((char)key == '\r' || (char)key == '\n') {
           bracketed_paste_x = bracketed_paste_starting_x;
-          ++bracketed_paste_y; // TODO overflow check
+          ++bracketed_paste_y;
           goto next_getch;
         }
         if (key != ' ') {
@@ -2879,7 +2879,7 @@
                          bracketed_paste_x, cleaned);
           }
         }
-        ++bracketed_paste_x; // TODO overflow check
+        ++bracketed_paste_x;
       }
       goto next_getch;
     }