diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:50:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:50:38 -0700 |
commit | a0e20c08bbe18b41ea54c319bd83874b5a7f9788 (patch) | |
tree | cc2d3f5c22715217d816a0163e0686ad1335a159 /src/XrrMode.c | |
parent | 754b492ddf490682c5fff2518a36d0afb5655a36 (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/XrrMode.c')
-rw-r--r-- | src/XrrMode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/XrrMode.c b/src/XrrMode.c index 58ef68b..0b74a73 100644 --- a/src/XrrMode.c +++ b/src/XrrMode.c @@ -62,9 +62,9 @@ XRRCreateMode (Display *dpy, Window window, XRRModeInfo *mode_info) req->reqType = info->codes->major_opcode; req->randrReqType = X_RRCreateMode; req->length += (mode_info->nameLength + 3) >> 2; - + req->window = window; - + req->modeInfo.id = 0; req->modeInfo.width = mode_info->width; req->modeInfo.height = mode_info->height; @@ -78,7 +78,7 @@ XRRCreateMode (Display *dpy, Window window, XRRModeInfo *mode_info) req->modeInfo.vTotal = mode_info->vTotal; req->modeInfo.nameLength = mode_info->nameLength; req->modeInfo.modeFlags = mode_info->modeFlags; - + Data (dpy, mode_info->name, mode_info->nameLength); if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) { @@ -86,7 +86,7 @@ XRRCreateMode (Display *dpy, Window window, XRRModeInfo *mode_info) SyncHandle (); return None; } - + UnlockDisplay (dpy); SyncHandle (); return rep.mode; |