X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=c67619de7d5270cb3cc99a821af597c8a6e0f67b;hb=5528280fae23968ffd3cf0527881cabddc24cf85;hp=c7589f490daecc4c806011b4eb392907af2ac681;hpb=c27c731b9f77c1b1c99f3bde737be53996809fcb;p=st.git diff --git a/st.c b/st.c index c7589f4..c67619d 100644 --- a/st.c +++ b/st.c @@ -2504,7 +2504,6 @@ tstrsequence(uchar c) { strreset(); strescseq.type = c; term.esc |= ESC_STR; - return; } void @@ -2586,7 +2585,6 @@ tcontrolcode(uchar ascii) { } /* only CAN, SUB, \a and C1 chars interrupt a sequence */ term.esc &= ~(ESC_STR_END|ESC_STR); - return; } /* @@ -3992,7 +3990,7 @@ run(void) { clock_gettime(CLOCK_MONOTONIC, &now); drawtimeout.tv_sec = 0; - drawtimeout.tv_nsec = (1000/xfps) * 1E6; + drawtimeout.tv_nsec = (1000 * 1E6)/ xfps; tv = &drawtimeout; dodraw = 0;