projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.05.tar.gz
[xscreensaver]
/
hacks
/
xjack.c
diff --git
a/hacks/xjack.c
b/hacks/xjack.c
index 623103c0e3f5c8e47dd3eb3f74279a8058c7ae71..6279000dcef5424a61a48e304a198305d932492d 100644
(file)
--- a/
hacks/xjack.c
+++ b/
hacks/xjack.c
@@
-222,7
+222,7
@@
screenhack (Display *dpy, Window window)
while (typo[i] && typo[i][0] != c)
i++;
if (typo[i])
while (typo[i] && typo[i][0] != c)
i++;
if (typo[i])
-
c = typo[i][0xFF & (random() % strlen(typo[i]+1)
)];
+
c = typo[i][0xFF & ((random() % strlen(typo[i]+1)) + 1
)];
}
/* caps typo */
}
/* caps typo */