Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-07-22 13:53:10 +04:00
parent 5244dae630
commit a5488affc8
4 changed files with 6 additions and 5 deletions

View File

@ -56,7 +56,7 @@ static WDialog *last_query_dlg;
static int sel_pos = 0; static int sel_pos = 0;
static const guint64 status_msg_delay_threshold = G_USEC_PER_SEC / 100; /* 0.01 s */ static const guint64 status_msg_delay_threshold = G_USEC_PER_SEC / 100; /* 0.01 s */
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
/*** file scope functions ************************************************************************/ /*** file scope functions ************************************************************************/

View File

@ -86,7 +86,7 @@ void message (int flags, const char *title, const char *text, ...)
gboolean mc_error_message (GError ** mcerror); gboolean mc_error_message (GError ** mcerror);
status_msg_t *status_msg_create (const char *title, double delay, status_msg_cb init_cb, status_msg_t *status_msg_create (const char *title, double delay, status_msg_cb init_cb,
status_msg_update_cb update_cb, status_msg_cb deinit_cb); status_msg_update_cb update_cb, status_msg_cb deinit_cb);
void status_msg_destroy (status_msg_t * sm); void status_msg_destroy (status_msg_t * sm);
void status_msg_init (status_msg_t * sm, const char *title, double delay, status_msg_cb init_cb, void status_msg_init (status_msg_t * sm, const char *title, double delay, status_msg_cb init_cb,

View File

@ -58,7 +58,7 @@ off_t edit_buffer_move_forward (const edit_buffer_t * buf, off_t current, long l
off_t edit_buffer_move_backward (const edit_buffer_t * buf, off_t current, long lines); off_t edit_buffer_move_backward (const edit_buffer_t * buf, off_t current, long lines);
off_t edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size, off_t edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size,
edit_buffer_read_file_status_msg_t *sm, gboolean * aborted); edit_buffer_read_file_status_msg_t * sm, gboolean * aborted);
off_t edit_buffer_write_file (edit_buffer_t * buf, int fd); off_t edit_buffer_write_file (edit_buffer_t * buf, int fd);
int edit_buffer_calc_percent (const edit_buffer_t * buf, off_t offset); int edit_buffer_calc_percent (const edit_buffer_t * buf, off_t offset);

View File

@ -204,7 +204,7 @@ dirsize_status_locate_buttons (dirsize_status_msg_t * dsm)
if (!dsm->allow_skip) if (!dsm->allow_skip)
{ {
/* single button: "Abort "*/ /* single button: "Abort" */
x += (wd->cols - dsm->abort_button->cols) / 2; x += (wd->cols - dsm->abort_button->cols) / 2;
widget_set_size (dsm->abort_button, y, x, widget_set_size (dsm->abort_button, y, x,
dsm->abort_button->lines, dsm->abort_button->cols); dsm->abort_button->lines, dsm->abort_button->cols);
@ -216,7 +216,8 @@ dirsize_status_locate_buttons (dirsize_status_msg_t * dsm)
cols = dsm->abort_button->cols + dsm->skip_button->cols + 1; cols = dsm->abort_button->cols + dsm->skip_button->cols + 1;
x += (wd->cols - cols) / 2; x += (wd->cols - cols) / 2;
widget_set_size (dsm->abort_button, y, x, dsm->abort_button->lines, dsm->abort_button->cols); widget_set_size (dsm->abort_button, y, x, dsm->abort_button->lines,
dsm->abort_button->cols);
x += dsm->abort_button->cols + 1; x += dsm->abort_button->cols + 1;
widget_set_size (dsm->skip_button, y, x, dsm->skip_button->lines, dsm->skip_button->cols); widget_set_size (dsm->skip_button, y, x, dsm->skip_button->lines, dsm->skip_button->cols);
} }