mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Remove replace test. (Don't do commit -a )
This commit is contained in:
parent
8bd7db31d2
commit
8aac855fe0
1 changed files with 0 additions and 6 deletions
|
@ -110,12 +110,6 @@ static void async_close_callback ( GObject *source_object, GAsyncResult *res, G_
|
|||
|
||||
static void read_add ( DmenuModePrivateData * pd, char *data, gsize len )
|
||||
{
|
||||
if ( pd->cmd_list_real_length > 0 ){
|
||||
if ( find_arg ( "-replace" ) >= 0 ){
|
||||
g_free(pd->cmd_list[pd->cmd_list_length]);
|
||||
pd->cmd_list_length--;
|
||||
}
|
||||
}
|
||||
if ( ( pd->cmd_list_length + 2 ) > pd->cmd_list_real_length ) {
|
||||
pd->cmd_list_real_length = MAX ( pd->cmd_list_real_length * 2, 512 );
|
||||
pd->cmd_list = g_realloc ( pd->cmd_list, ( pd->cmd_list_real_length ) * sizeof ( char* ) );
|
||||
|
|
Loading…
Reference in a new issue