summaryrefslogtreecommitdiff
path: root/record.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:40:19 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:40:19 -0800
commit684e4321fa7e96a61f45dc133816ab92a173a52d (patch)
treec9e0e76fa4deb06d7ca0852c9313e2eb7fb1f3b1 /record.c
parent63e7fce72d704036016258b2cb55c5624f571d92 (diff)
Trim trailing whitespace from lines
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'record.c')
-rw-r--r--record.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/record.c b/record.c
index df5d343..605d218 100644
--- a/record.c
+++ b/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);
-}
+}
/********************************************/