Ticket #3000: mc-overwrite_query_dialog-units.patch

File mc-overwrite_query_dialog-units.patch, 985 bytes (added by gv, 11 years ago)

Patch

  • mc-4.8.8/src/filemanager/filegui.c

    old new  
    548548    add_widget (ui->replace_dlg, hline_new (y++, -1, -1)); 
    549549 
    550550    /* source date and size */ 
    551     size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->s_stat->st_size, -1, 
     551    size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->s_stat->st_size, 0, 
    552552                    panels_options.kilobyte_si); 
    553553    ADD_RD_LABEL (2, file_date (ui->s_stat->st_mtime), fsize_buffer, y++); 
    554554    rd_xlen = max (rd_xlen, label2->cols + 8); 
    555555    /* destination date and size */ 
    556     size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->d_stat->st_size, -1, 
     556    size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->d_stat->st_size, 0, 
    557557                    panels_options.kilobyte_si); 
    558558    ADD_RD_LABEL (3, file_date (ui->d_stat->st_mtime), fsize_buffer, y++); 
    559559    rd_xlen = max (rd_xlen, label2->cols + 8);