Skip to content

Commit b94bc5b

Browse files
committed
codestyle
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45409 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent da542dd commit b94bc5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vice/src/checkstyle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function checkwhitespace
7676
# find trailing whitespace
7777
while IFS= read -r line
7878
do
79-
grep -Hn '\s\+$' "$line" | sed 's/\s\+$/~~~~/'
79+
grep -Hn '[[:blank:]]\+$' "$line" | sed 's/\s\+$/~~~~/'
8080
done < .checkws
8181
rm -f .checkws
8282
}

vice/src/joyport/powerpad.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ static uint8_t powerpad_read(int port)
155155
uint16_t joyval = joyport_digital_value(port);
156156

157157
switch (counter[port]) {
158-
case 0: // always 0
158+
case 0: /* always 0 */
159159
retval |= 0;
160160
break;
161-
case 1: // always 0
161+
case 1: /* always 0 */
162162
mouse_get_new_movement();
163163
retval |= 0;
164164
break;

0 commit comments

Comments
 (0)