Skip to content

Commit d180a49

Browse files
Fix compile error from recent PR
1 parent b3f4b55 commit d180a49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/consapp/convbin/convbin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,8 @@ static int cmdopts(int argc, char **argv, rnxopt_t *opt, char **ifile,
607607

608608
if (opt->trtcm.time == 0) {
609609
// Use the start or end time if supplied. Otherwise use the file time.
610-
if (opt->ts.time != 0) opt->trtcm.time = ts;
611-
else if (opt->te.time != 0) opt->trtcm.time = te;
610+
if (opt->ts.time != 0) opt->trtcm = opt->ts;
611+
else if (opt->te.time != 0) opt->trtcm = opt->te;
612612
else get_filetime(*ifile, &opt->trtcm);
613613
}
614614
if (*fmt) {

0 commit comments

Comments
 (0)