aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-10-30 14:30:52 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-10-30 14:30:52 +0000
commitbdfe1d7fc82eaf4e52b736ff635f69f218bf724c (patch)
tree4ecf48d5b3921be053a31df033692c8fbe9ae927 /capture.c
parent113ed3e78898d115946ab8d8d873da4e4b5dd755 (diff)
move quit_after_cap into capture_opts
svn path=/trunk/; revision=12449
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index e59899b531..31c128a034 100644
--- a/capture.c
+++ b/capture.c
@@ -173,7 +173,6 @@
* Capture options.
*/
capture_options capture_opts;
-gboolean quit_after_cap = FALSE;/* Makes a "capture only mode". Implies -k */
gboolean capture_child; /* if this is the child for "-S" */
@@ -307,7 +306,7 @@ normal_do_capture(gboolean is_tempfile)
/* Not sync mode. */
capture_succeeded = capture(&stats_known, &stats);
- if (quit_after_cap) {
+ if (capture_opts.quit_after_cap) {
/* DON'T unlink the save file. Presumably someone wants it. */
main_window_exit();
}