diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-11-06 16:09:49 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-11-06 16:09:49 +0000 |
commit | 2c56bb3ea8cbd95487871be3062f04cb020547eb (patch) | |
tree | cd4674e812f0aaf7d2ae1ef1263260584801dd08 /app/xgc/record.c | |
parent | e1cac83a1c3502654f669b5463a9a8a7a44bf9db (diff) |
Update xgc to version 1.0.6
Diffstat (limited to 'app/xgc/record.c')
-rw-r--r-- | app/xgc/record.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/xgc/record.c b/app/xgc/record.c index df5d343a8..605d218c3 100644 --- a/app/xgc/record.c +++ b/app/xgc/record.c @@ -42,9 +42,9 @@ toggle_recordbutton(Widget w, caddr_t closure, caddr_t call_data) static Arg recordargs[] = { {XtNlabel, (XtArgVal) NULL} }; - + char tmp[20]; /* new label */ - + if (!recording) { start_recording(); } @@ -65,7 +65,7 @@ toggle_recordbutton(Widget w, caddr_t closure, caddr_t call_data) */ static void -start_recording(void) +start_recording(void) { get_filename(done_choosing_filename,cancel_record); } @@ -76,7 +76,7 @@ start_recording(void) */ static void -stop_recording(void) +stop_recording(void) { fclose(recordfile); } @@ -87,7 +87,7 @@ stop_recording(void) */ static void -cancel_record(void) +cancel_record(void) { } @@ -99,7 +99,7 @@ cancel_record(void) */ static void -done_choosing_filename(void) +done_choosing_filename(void) { static Arg recordargs[] = { {XtNlabel, (XtArgVal) NULL}, @@ -138,7 +138,7 @@ print_if_recording(const char *str) ** If we're recording, stop. */ -void +void close_file_if_recording(void) { if (recording) @@ -217,7 +217,7 @@ print_out_gc_values(void) fprintf(recordfile,"planemask %ld\n",X.gcv.plane_mask); fprintf(recordfile,"dashlist %d\n",X.gcv.dashes); fprintf(recordfile,"font %s\n",X.fontname); -} +} /********************************************/ |