X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/c27c731b9f77c1b1c99f3bde737be53996809fcb..5528280fae23968ffd3cf0527881cabddc24cf85:/st.c 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;