fixed some compiler warnings
This commit is contained in:
@ -40,6 +40,7 @@ extern char *terminal_width_empty_line;
|
||||
|
||||
int read_string(WINDOW *win, int y, int x, char *str);
|
||||
int strcmp_offset(char *in0, char *in1, char offset);
|
||||
extern void render_pass();
|
||||
|
||||
|
||||
void user_interactions() {
|
||||
@ -268,9 +269,8 @@ void open_with(){
|
||||
wresize(win_b, 5, terminal_width/3); /*the div3 just looks cool*/
|
||||
|
||||
render_pass();
|
||||
unsigned long local_width;
|
||||
unsigned long local_height;
|
||||
getmaxyx(win_b, local_height, local_width);
|
||||
local_height = getmaxy(win_b);
|
||||
|
||||
|
||||
/* TODO(2025-06-22T01:24:36) fix fixed buffer size */
|
||||
@ -308,9 +308,8 @@ void rename_hovered(){
|
||||
|
||||
render_pass();
|
||||
|
||||
unsigned long local_width;
|
||||
unsigned long local_height;
|
||||
getmaxyx(win_b, local_height, local_width);
|
||||
local_height = getmaxy(win_b);
|
||||
|
||||
/* TODO(2025-06-22T01:24:30) fix fixed buffer size */
|
||||
char *str = malloc(255);
|
||||
@ -366,9 +365,6 @@ void delete(){
|
||||
|
||||
render_pass();
|
||||
|
||||
unsigned long local_width;
|
||||
unsigned long local_height;
|
||||
getmaxyx(win_b, local_height, local_width);
|
||||
|
||||
timeout(-1); /* negative numbers block until enter is pressed */
|
||||
/* TODO(2025-06-22T01:24:30) fix fixed buffer size */
|
||||
@ -421,9 +417,8 @@ void makedir(){
|
||||
wresize(win_b, 5, terminal_width/3); /*the div3 just looks cool*/
|
||||
render_pass();
|
||||
|
||||
unsigned long local_width;
|
||||
unsigned long local_height;
|
||||
getmaxyx(win_b, local_height, local_width);
|
||||
local_height = getmaxy(win_b);
|
||||
|
||||
/* TODO(2025-07-03T01:19:55) fix fixed buffer size */
|
||||
char *str = malloc(255);
|
||||
@ -444,9 +439,8 @@ void makefile(){
|
||||
wresize(win_b, 5, terminal_width/3); /*the div3 just looks cool*/
|
||||
render_pass();
|
||||
|
||||
unsigned long local_width;
|
||||
unsigned long local_height;
|
||||
getmaxyx(win_b, local_height, local_width);
|
||||
local_height = getmaxy(win_b);
|
||||
|
||||
/* TODO(2025-07-03T01:19:49) fix fixed buffer size */
|
||||
char *str = malloc(255);
|
||||
|
Reference in New Issue
Block a user