@@ -251,7 +251,7 @@ SigtermHandler(int sig_num)
251251}
252252
253253/* Custom SIGSEGV handler. */
254- void
254+ static void
255255SigsegvHandler (int sig )
256256{
257257 exit_handler ();
@@ -299,7 +299,7 @@ max_int(int a, int b)
299299 * The argument "b" should be >= "a" or it should be ignored
300300 * and "a" is used instead "b".
301301 */
302- int
302+ static int
303303trim_to_range (int v , int a , int b )
304304{
305305 /*
@@ -2157,8 +2157,6 @@ export_to_file(PspgCommand command,
21572157 snprintf (cmdline_clipboard_app , 1024 , "wl-copy -t %s" , fmt );
21582158 else if (clipboard_application_id == 2 )
21592159 snprintf (cmdline_clipboard_app , 1024 , "xclip -sel clip" );
2160- else if (clipboard_application_id == 4 )
2161- snprintf (cmdline_clipboard_app , 1024 , "clip.exe" );
21622160
21632161 if ((pid = rwe_popen (cmdline_clipboard_app , & fin , & fout , & ferr )) == -1 )
21642162 {
@@ -4496,7 +4494,7 @@ main(int argc, char *argv[])
44964494 vertical_cursor_column ))
44974495 break ;
44984496
4499- if (mark_mode != MARK_MODE_BLOCK || mark_mode != MARK_MODE_COLUMNS )
4497+ if (mark_mode != MARK_MODE_BLOCK && mark_mode != MARK_MODE_COLUMNS )
45004498 {
45014499 throw_selection (& scrdesc , & desc , & mark_mode );
45024500
0 commit comments