Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion see.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@
status( opt->last_pipe_cmd );
return;
}
char ch;
int ch;
freezed = 1;
while( (ch = fgetc( f ) ) != EOF )
kinsert( ch );
Expand Down
2 changes: 1 addition & 1 deletion vfu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,7 @@ void vfu_directory_sizes( wchar_t wch )

do_draw = 1;
update_status();
if ( opt.sort_order == 'S' && wch < 0 ) vfu_sort_files();
if ( opt.sort_order == 'S' && wch <= 0 ) vfu_sort_files();
}

/*--------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion vfuopt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ int set_splitter( const char *line, const char *keyword, VArray &splitter )

/*---------------------------------------------------------------------------*/

int key_by_name( const char* key_name )
wchar_t key_by_name( const char* key_name )
{
if ( strcmp( key_name, "IC" ) == 0 ) return UKEY_INS;
if ( strcmp( key_name, "INS" ) == 0 ) return UKEY_INS;
Expand Down
2 changes: 1 addition & 1 deletion vfuopt.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

extern Options opt;

int key_by_name( const char* key_name );
wchar_t key_by_name( const char* key_name );

time_t vfu_opt_time( const struct stat st );
time_t vfu_opt_time( const struct stat* st );
Expand Down