Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/local/programs/bdfload bdfload: g/c trailing whitespace
details: https://anonhg.NetBSD.org/xsrc/rev/63854900dd64
branches: trunk
changeset: 6972:63854900dd64
user: uwe <uwe%NetBSD.org@localhost>
date: Mon May 09 15:47:27 2022 +0000
description:
bdfload: g/c trailing whitespace
diffstat:
local/programs/bdfload/bdfload.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 2023662083c0 -r 63854900dd64 local/programs/bdfload/bdfload.c
--- a/local/programs/bdfload/bdfload.c Mon May 09 09:00:20 2022 +0000
+++ b/local/programs/bdfload/bdfload.c Mon May 09 15:47:27 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bdfload.c,v 1.1 2019/01/02 22:05:24 macallan Exp $ */
+/* $NetBSD: bdfload.c,v 1.2 2022/05/09 15:47:27 uwe Exp $ */
/*
* Copyright (c) 2018 Michael Lorenz
@@ -89,7 +89,7 @@
printf("failed to allocate %dKB for glyphs\n",
buflen);
exit(1);
- }
+ }
} else if (strcmp(line, "CHARS") == 0) {
if (sscanf(arg, "%d", &num) == 1)
printf("number of characters: %d\n", num);
@@ -139,7 +139,7 @@
} else {
*bptr16 = htobe16(l);
bptr16++;
- }
+ }
}
}
}
@@ -158,7 +158,7 @@
f.data = &buffer[first * charsize];
fdev = open("/dev/wsfont", O_RDWR, 0);
- if (fdev < 0) errx(1, "unable to open /dev/wsfont");
+ if (fdev < 0) errx(1, "unable to open /dev/wsfont");
ioctl(fdev, WSDISPLAYIO_LDFONT, &f);
close(fdev);
}
Home |
Main Index |
Thread Index |
Old Index