diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-09-29 07:32:27 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-09-29 07:32:27 +1000 |
commit | 0e716763d80f56f6cb80ad9b673af8fff9296a95 (patch) | |
tree | e2042eddc8052c4f218cdc8dd0c8c883aade7662 /kill.c | |
parent | 50f5941a8234d2224bf3c74403c554cca6224b0e (diff) |
Replace variadic functions like sb_append and contains_str with variadic macros without a sentinel.
darcs-hash:20070928213227-75c98-2e7b06242acfd5fd0bf02ce77c41d52374f2363a.gz
Diffstat (limited to 'kill.c')
-rw-r--r-- | kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ void kill_add( wchar_t *str ) if( (disp = env_get( L"DISPLAY" )) ) { wchar_t *escaped_str = escape( str, 1 ); - wchar_t *cmd = wcsdupcat2(L"echo ", escaped_str, L"|xsel -b",(void *)0); + wchar_t *cmd = wcsdupcat(L"echo ", escaped_str, L"|xsel -b" ); if( exec_subshell( cmd, 0 ) == -1 ) { /* @@ -211,7 +211,7 @@ static void kill_check_x_buffer() else { wchar_t *old = new_cut_buffer; - new_cut_buffer= wcsdupcat2( new_cut_buffer, L"\\n", next_line, (void *)0 ); + new_cut_buffer= wcsdupcat( new_cut_buffer, L"\\n", next_line ); free( old ); free( next_line ); } |