aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fossil/view.c
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /src/cmd/fossil/view.c
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/fossil/view.c')
-rw-r--r--src/cmd/fossil/view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/fossil/view.c b/src/cmd/fossil/view.c
index ed18febc..659e5380 100644
--- a/src/cmd/fossil/view.c
+++ b/src/cmd/fossil/view.c
@@ -298,7 +298,7 @@ copyMetaBlock(MetaBlock mb)
}
/*
- * visualizer
+ * visualizer
*/
#pragma varargck argpos stringnode 1
@@ -555,7 +555,7 @@ initxentryblock(Block *b, Entry *ed)
}
typedef struct Xentry Xentry;
-struct Xentry
+struct Xentry
{
Tnode t;
Entry e;
@@ -813,7 +813,7 @@ parseScore(uchar *score, char *buf, int n)
if((i & 1) == 0)
c <<= 4;
-
+
score[i>>1] |= c;
}
return 1;
@@ -912,7 +912,7 @@ drawnub(Image *m, Image *clipr, Point o, Tnode *t)
o.y += (display->defaultfont->height-Nubheight)/2;
draw(m, rectaddpt(Rect(0,0,1,Nubheight), o), display->black, clipr, ZP);
draw(m, rectaddpt(Rect(0,0,Nubwidth,1), o), display->black, clipr, o);
- draw(m, rectaddpt(Rect(Nubwidth-1,0,Nubwidth,Nubheight), o),
+ draw(m, rectaddpt(Rect(Nubwidth-1,0,Nubwidth,Nubheight), o),
display->black, clipr, addpt(o, Pt(Nubwidth-1, 0)));
draw(m, rectaddpt(Rect(0, Nubheight-1, Nubwidth, Nubheight), o),
display->black, clipr, addpt(o, Pt(0, Nubheight-1)));