summaryrefslogtreecommitdiff
path: root/dashlist.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:40:19 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:40:19 -0800
commit684e4321fa7e96a61f45dc133816ab92a173a52d (patch)
treec9e0e76fa4deb06d7ca0852c9313e2eb7fb1f3b1 /dashlist.c
parent63e7fce72d704036016258b2cb55c5624f571d92 (diff)
Trim trailing whitespace from lines
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dashlist.c')
-rw-r--r--dashlist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dashlist.c b/dashlist.c
index c172383..5db6179 100644
--- a/dashlist.c
+++ b/dashlist.c
@@ -136,15 +136,15 @@ change_dashlist(Widget w, caddr_t closure, caddr_t call_data)
XtGetValues(w,args,XtNumber(args));
/* modify the dashlist as appropriate. */
- if (on) {
- dashlist |= 1<<num;
+ if (on) {
+ dashlist |= 1<<num;
}
- else {
- dashlist &= ~(1<<num);
+ else {
+ dashlist &= ~(1<<num);
}
/* now tell interpret() about it */
- snprintf(buf, sizeof buf, "dashlist %d\n",dashlist);
+ snprintf(buf, sizeof buf, "dashlist %d\n",dashlist);
interpret(buf);
}