diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 21:26:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 21:26:17 -0700 |
commit | e086eb1bf49f2a8c270eaebd5beb595c1dc2973e (patch) | |
tree | de1657f6ac030ecd56593c67bfb04fda43258049 /src/display.c | |
parent | d79ddc01e4b247ae95af3581b93aef2b93e76888 (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{\s+$}{\n}'
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/display.c')
-rw-r--r-- | src/display.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/display.c b/src/display.c index bcf9964..7998fe7 100644 --- a/src/display.c +++ b/src/display.c @@ -126,7 +126,7 @@ _XcursorGetDisplayInfo (Display *dpy) return NULL; info->next = NULL; info->display = dpy; - + info->codes = XAddExtension (dpy); if (!info->codes) { @@ -162,7 +162,7 @@ _XcursorGetDisplayInfo (Display *dpy) info->has_anim_cursor = XcursorFalse; } } - + info->size = 0; /* @@ -173,7 +173,7 @@ _XcursorGetDisplayInfo (Display *dpy) v = XGetDefault (dpy, "Xcursor", "size"); if (v) info->size = atoi (v); - + /* * Use the Xft size to guess a size; make cursors 16 "points" tall */ @@ -186,15 +186,15 @@ _XcursorGetDisplayInfo (Display *dpy) if (dpi) info->size = dpi * 16 / 72; } - + /* * Use display size to guess a size */ if (info->size == 0) { int dim; - - if (DisplayHeight (dpy, DefaultScreen (dpy)) < + + if (DisplayHeight (dpy, DefaultScreen (dpy)) < DisplayWidth (dpy, DefaultScreen (dpy))) dim = DisplayHeight (dpy, DefaultScreen (dpy)); else @@ -204,7 +204,7 @@ _XcursorGetDisplayInfo (Display *dpy) */ info->size = dim / 48; } - + info->theme = NULL; info->theme_from_config = NULL; @@ -287,7 +287,7 @@ _XcursorGetDisplayInfo (Display *dpy) _XcursorDisplayInfo = info; } _XUnlockMutex (_Xglobal_lock); - + return info; } @@ -373,7 +373,7 @@ XcursorGetThemeCore (Display *dpy) if (!info) return XcursorFalse; return info->theme_core; - + } XcursorBool |