diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/cmd/samterm | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
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>
Diffstat (limited to 'src/cmd/samterm')
-rw-r--r-- | src/cmd/samterm/icons.c | 8 | ||||
-rw-r--r-- | src/cmd/samterm/io.c | 2 | ||||
-rw-r--r-- | src/cmd/samterm/main.c | 4 | ||||
-rw-r--r-- | src/cmd/samterm/mesg.c | 2 | ||||
-rw-r--r-- | src/cmd/samterm/samterm.h | 1 |
5 files changed, 8 insertions, 9 deletions
diff --git a/src/cmd/samterm/icons.c b/src/cmd/samterm/icons.c index 5ccd999a..0b04d0b0 100644 --- a/src/cmd/samterm/icons.c +++ b/src/cmd/samterm/icons.c @@ -22,13 +22,13 @@ Cursor bullseye={ }; Cursor deadmouse={ {-7, -7}, - {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x8E, 0x1D, 0xC7, - 0xFF, 0xE3, 0xFF, 0xF3, 0xFF, 0xFF, 0x7F, 0xFE, + 0xFF, 0xE3, 0xFF, 0xF3, 0xFF, 0xFF, 0x7F, 0xFE, 0x3F, 0xF8, 0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00,}, - {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x04, 0x00, 0x82, - 0x04, 0x41, 0xFF, 0xE1, 0x5F, 0xF1, 0x3F, 0xFE, + 0x04, 0x41, 0xFF, 0xE1, 0x5F, 0xF1, 0x3F, 0xFE, 0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00, 0x00, 0x00,} }; Cursor lockarrow={ diff --git a/src/cmd/samterm/io.c b/src/cmd/samterm/io.c index 7c653aa4..e1dd148a 100644 --- a/src/cmd/samterm/io.c +++ b/src/cmd/samterm/io.c @@ -170,7 +170,7 @@ again: goto again; } got |= 1<<type; - return got; + return got; } int diff --git a/src/cmd/samterm/main.c b/src/cmd/samterm/main.c index 5fc42908..de951845 100644 --- a/src/cmd/samterm/main.c +++ b/src/cmd/samterm/main.c @@ -464,7 +464,7 @@ flushtyping(int clearesc) ulong n; if(clearesc) - typeesc = -1; + typeesc = -1; if(typestart == typeend) { modified = 0; return; @@ -514,7 +514,7 @@ nontypingkey(int c) case SCROLLKEY: case CUT: case COPY: - case PASTE: + case PASTE: return 1; } return 0; diff --git a/src/cmd/samterm/mesg.c b/src/cmd/samterm/mesg.c index 1e9cd561..32478ea2 100644 --- a/src/cmd/samterm/mesg.c +++ b/src/cmd/samterm/mesg.c @@ -472,7 +472,7 @@ void outcopy(int count, uchar *data) { while(count--) - outdata[HSIZE+outcount++] = *data++; + outdata[HSIZE+outcount++] = *data++; } void diff --git a/src/cmd/samterm/samterm.h b/src/cmd/samterm/samterm.h index ac564ecf..2e1a645d 100644 --- a/src/cmd/samterm/samterm.h +++ b/src/cmd/samterm/samterm.h @@ -181,4 +181,3 @@ void outshort(int); void outlong(long); void outvlong(vlong); void outsend(void); - |