projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6bf5e15
)
fade.c: Stop playing if no sleep mode was given.
author
Andre Noll
<maan@systemlinux.org>
Thu, 24 Apr 2008 17:06:02 +0000
(19:06 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 24 Apr 2008 17:06:02 +0000
(19:06 +0200)
fade.c
patch
|
blob
|
history
diff --git
a/fade.c
b/fade.c
index
6b87680
..
48faed8
100644
(file)
--- a/
fade.c
+++ b/
fade.c
@@
-238,7
+238,10
@@
static int sweet_dreams(void)
if (ret < 0)
return ret;
}
if (ret < 0)
return ret;
}
- change_afs_mode_and_play(sleep_mode);
+ if (conf.sleep_mode_given)
+ change_afs_mode_and_play(sleep_mode);
+ else
+ client_cmd("stop");
if (!wf)
return 1;
for (;;) {
if (!wf)
return 1;
for (;;) {