aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/deroff.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-07 22:42:06 +0000
committerrsc <devnull@localhost>2005-05-07 22:42:06 +0000
commitbb0266fe6137ecd81eea1c74e34723c5a1bc4caf (patch)
treeeabd639cfa662d05748e899f16573e1f739cd070 /src/cmd/deroff.c
parentbc7da02954403d4b46285b8f87a62d60c5eb58f8 (diff)
downloadplan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.gz
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.bz2
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.zip
no wide character constants; sigh
Diffstat (limited to 'src/cmd/deroff.c')
-rw-r--r--src/cmd/deroff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/deroff.c b/src/cmd/deroff.c
index 914c5a3f..1b758efe 100644
--- a/src/cmd/deroff.c
+++ b/src/cmd/deroff.c
@@ -847,11 +847,11 @@ sce(void)
{
int n = 1;
- while (C != L'\n' && !(L'0' <= c && c <= L'9'))
+ while (C != '\n' && !('0' <= c && c <= '9'))
;
- if (c != L'\n') {
- for (n = c-L'0';'0' <= C && c <= L'9';)
- n = n*10 + c-L'0';
+ if (c != '\n') {
+ for (n = c-'0';'0' <= C && c <= '9';)
+ n = n*10 + c-'0';
}
while(n) {
if(C == '.') {