summaryrefslogtreecommitdiff
path: root/gui/gui.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-07 22:26:44 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-07 22:31:18 -0300
commit2a64264e445dd46121c1e966bbe1d2b44b29d33f (patch)
tree76dd5225c653bdb983a1c7b7a241fff5570086c7 /gui/gui.c
parentdafe079f9bd26ee63e685db638d578236abd6eb3 (diff)
downloadeeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.gz
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.bz2
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.zip
fix numerous whitespace atrocities
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
Diffstat (limited to 'gui/gui.c')
-rw-r--r--gui/gui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 5cd2a75..b5668c9 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -47,7 +47,7 @@
struct gui_sheet *find_corresponding_sheet(struct gui_sheet *pick_from,
- struct gui_sheet *ref_in, const struct gui_sheet *ref)
+ struct gui_sheet *ref_in, const struct gui_sheet *ref)
{
struct gui_sheet *sheet, *plan_b;
const char *title = ref->sch->title;
@@ -109,7 +109,7 @@ static void select_subsheet(void *user)
found:
sheet = find_corresponding_sheet(gui->new_hist->sheets,
- gui->old_hist->sheets, sheet);
+ gui->old_hist->sheets, sheet);
go_to_sheet(gui, sheet);
}
@@ -274,7 +274,7 @@ static const struct sheet *parse_files(struct gui_hist *hist,
if (fn->pl) {
if (!file_open(&pl_file, fn->pl, leader))
goto fail;
- hist->pl = pl_parse(&pl_file);
+ hist->pl = pl_parse(&pl_file);
file_close(&pl_file);
/*
* We treat failing to parse the page layout as a "minor"
@@ -421,8 +421,8 @@ static void get_history(struct gui *gui, const char *name, int limit)
if (!vcs_git_try(name)) {
gui->vcs_history = NULL;
return;
- }
-
+ }
+
gui->vcs_history = vcs_git_history(name);
if (limit)
gui->hist_size = limit > 0 ? limit : -limit;
@@ -468,7 +468,7 @@ int run_gui(const struct file_names *fn, bool recurse, int limit,
.aois = NULL,
.diff_mode = diff_delta,
.old_hist = NULL,
- .hist_y_offset = 0,
+ .hist_y_offset = 0,
.hist_size = 0,
};