OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Separate 'massacre' process to independent function.
[hengband/hengband.git]
/
src
/
main-x11.c
diff --git
a/src/main-x11.c
b/src/main-x11.c
index
3fccd1c
..
1073be3
100644
(file)
--- a/
src/main-x11.c
+++ b/
src/main-x11.c
@@
-2878,9
+2878,8
@@
static errr Term_xtra_x11_sound(int v)
if (!sound_file[v]) return (1);
sprintf(buf,"./playwave.sh %s\n", sound_file[v]);
- system(buf);
- return (0);
+ return (
system(buf) <
0);
}
#endif /* USE_SOUND */