summaryrefslogtreecommitdiff
path: root/gui/sheet.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/sheet.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/sheet.c')
-rw-r--r--gui/sheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index d7e6fe6..a09efec 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -130,7 +130,7 @@ void zoom_to_extents(struct gui *gui)
gui->y = h / 2;
gtk_widget_get_allocation(gui->da, &alloc);
-
+
sw = w ? (float) ZOOM_MARGIN * alloc.width / w : 1;
sh = h ? (float) ZOOM_MARGIN * alloc.height / h : 1;
gui->scale = sw < sh ? sw : sh;