rain-Update-default-delay.-Closes-579062.patch 855 B

123456789101112131415161718192021222324252627282930313233343536
  1. From: Tobias Quathamer <toddy@debian.org>
  2. Date: Thu, 16 Feb 2012 11:26:53 +0100
  3. Subject: rain: Update default delay. Closes: #579062
  4. ---
  5. rain/rain.6 | 2 +-
  6. rain/rain.c | 2 +-
  7. 2 files changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/rain/rain.6 b/rain/rain.6
  9. index 9fb0f0e..c6515e9 100644
  10. --- a/rain/rain.6
  11. +++ b/rain/rain.6
  12. @@ -49,6 +49,6 @@ baud or the
  13. .Fl d
  14. option must be used to specify a delay, in milliseconds, between each
  15. update.
  16. -A reasonable delay is 120; the default is 0.
  17. +The default delay is 120.
  18. .Sh AUTHOR
  19. .An Eric P. Scott
  20. diff --git a/rain/rain.c b/rain/rain.c
  21. index e388f46..63e6276 100644
  22. --- a/rain/rain.c
  23. +++ b/rain/rain.c
  24. @@ -70,7 +70,7 @@ main(int argc, char **argv)
  25. {
  26. int x, y, j;
  27. long cols, lines;
  28. - unsigned int delay = 0;
  29. + unsigned int delay = 120;
  30. unsigned long val = 0;
  31. int ch;
  32. char *ep;
  33. --