projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver]
/
utils
/
grabclient.c
diff --git
a/utils/grabclient.c
b/utils/grabclient.c
index 54396c765616bdd51f0e84f84178c803c2539d84..438197e80da1ff1eb2b4db6dcbb9d8e5a47c7cae 100644
(file)
--- a/
utils/grabclient.c
+++ b/
utils/grabclient.c
@@
-582,13
+582,13
@@
pipe_cb (XtPointer closure, int *source, XtInputId *id)
Window r;
int x, y;
unsigned int w, h, bbw, d;
Window r;
int x, y;
unsigned int w, h, bbw, d;
- struct stat
*
st;
+ struct stat st;
/* Log something to syslog so we can tell the difference between
corrupted images and broken symlinks. */
if (!*buf)
fprintf (stderr, "%s: no image filename found\n", progname);
/* Log something to syslog so we can tell the difference between
corrupted images and broken symlinks. */
if (!*buf)
fprintf (stderr, "%s: no image filename found\n", progname);
- else if (! stat (buf, st))
+ else if (! stat (buf,
&
st))
fprintf (stderr, "%s: %s: unparsable\n", progname, buf);
else
{
fprintf (stderr, "%s: %s: unparsable\n", progname, buf);
else
{
@@
-730,11
+730,9
@@
load_random_image_1 (Screen *screen, Window window, Drawable drawable,
done = True;
}
done = True;
}
- if (! done)
{
+ if (! done)
draw_colorbars (screen, xgwa.visual, drawable, xgwa.colormap,
0, 0, xgwa.width, xgwa.height);
draw_colorbars (screen, xgwa.visual, drawable, xgwa.colormap,
0, 0, xgwa.width, xgwa.height);
- done = True;
- }
if (callback) {
/* If we got here, we loaded synchronously even though they wanted async.
if (callback) {
/* If we got here, we loaded synchronously even though they wanted async.