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

@ -255,4 +255,3 @@ nodraw:
return n;
}

View file

@ -97,7 +97,7 @@ strokedraw(Image *dst, Rectangle r, Image *ink, int brush)
* mp and sp get aligned with bot.min.
*/
static void
gendrawdiff(Image *dst, Rectangle bot, Rectangle top,
gendrawdiff(Image *dst, Rectangle bot, Rectangle top,
Image *src, Point sp, Image *mask, Point mp, int op)
{
Rectangle r;
@ -482,7 +482,7 @@ center(void)
{
cpos = ZP;
if(canvas)
cpos = addpt(canvas->r.min,
cpos = addpt(canvas->r.min,
divpt(subpt(canvas->r.max, canvas->r.min), 2));
spos = addpt(screen->r.min,
divpt(subpt(screen->r.max, screen->r.min), 2));
@ -633,7 +633,7 @@ main(int argc, char *argv[])
if(argc == 1)
filename = strdup(argv[0]);
else if(argc != 0)
usage();
usage();
if(initdraw(0, 0, "paint") < 0)
sysfatal("initdraw: %r");