1
1
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
Andrew Borodin 2013-03-12 14:05:10 +04:00
родитель a7b619a90d
Коммит 68609b79b0
3 изменённых файлов: 9 добавлений и 6 удалений

Просмотреть файл

@ -1793,7 +1793,7 @@ edit_insert_column_from_file (WEdit * edit, int file, off_t * start_pos, off_t *
for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
edit_insert (edit, ' ');
for (p = edit->curs1; ; p++)
for (p = edit->curs1;; p++)
{
if (p == edit->last_byte)
{

Просмотреть файл

@ -3286,7 +3286,7 @@ edit_complete_word_cmd (WEdit * edit)
/* collect the possible completions */
/* start search from begin to end of file */
max_len =
edit_collect_completions (edit, word_start, word_len, match_expr, (GString **) &compl,
edit_collect_completions (edit, word_start, word_len, match_expr, (GString **) & compl,
&num_compl);
if (num_compl > 0)
@ -3306,7 +3306,8 @@ edit_complete_word_cmd (WEdit * edit)
/*tty_beep (); */
/* let the user select the preferred completion */
editcmd_dialog_completion_show (edit, max_len, word_len, (GString **) &compl, num_compl);
editcmd_dialog_completion_show (edit, max_len, word_len, (GString **) & compl,
num_compl);
}
}

Просмотреть файл

@ -548,11 +548,13 @@ overwrite_query_dialog (FileOpContext * ctx, enum OperationMode mode)
add_widget (ui->replace_dlg, hline_new (y++, -1, -1));
/* source date and size */
size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->s_stat->st_size, -1, panels_options.kilobyte_si);
size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->s_stat->st_size, -1,
panels_options.kilobyte_si);
ADD_RD_LABEL (2, file_date (ui->s_stat->st_mtime), fsize_buffer, y++);
rd_xlen = max (rd_xlen, label2->cols + 8);
/* destination date and size */
size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->d_stat->st_size, -1, panels_options.kilobyte_si);
size_trunc_len (fsize_buffer, sizeof (fsize_buffer), ui->d_stat->st_size, -1,
panels_options.kilobyte_si);
ADD_RD_LABEL (3, file_date (ui->d_stat->st_mtime), fsize_buffer, y++);
rd_xlen = max (rd_xlen, label2->cols + 8);
@ -1064,7 +1066,7 @@ file_progress_show_deleting (FileOpContext * ctx, const char *s)
FileProgressStatus
file_progress_real_query_replace (FileOpContext * ctx,
enum OperationMode mode, const char *destname,
struct stat *_s_stat, struct stat *_d_stat)
struct stat * _s_stat, struct stat * _d_stat)
{
FileOpContextUI *ui;