Trivial changes: whitespace and modes.

Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
Dan Cross 2020-01-10 14:44:21 +00:00
parent 77a0a5b519
commit fa325e9b42
1021 changed files with 5688 additions and 6193 deletions

View file

@ -15,7 +15,7 @@ struct xy {
float xquant; /*quantum*/
float xoff; /*screen offset fraction*/
float xsize; /*screen fraction*/
int xbot,xtop; /*screen coords of border*/
int xbot,xtop; /*screen coords of border*/
float xmult; /*scaling constant*/
} xd,yd;
struct val {
@ -83,7 +83,7 @@ static void
initpalette(void)
{
int i;
for(i=0; i<nelem(colors); i++){
palette[(uchar)colors[i][0]].name = colors[i];
palette[(uchar)colors[i][0]].next = colors[i][0];
@ -442,12 +442,12 @@ void setlim(struct xy *p){
if(ub > 0) {
ub = 2*ub;
lb = 0;
}
}
else
if(lb < 0) {
lb = 2*lb;
ub = 0;
}
}
else {
ub = 1;
lb = -1;
@ -729,7 +729,7 @@ symbol(int ix, int iy, int k){
if(mode==0)
point(ix,iy);
return(1);
}
}
else {
move(ix,iy);
text(k>=0?labels+k:plotsymb);