summaryrefslogtreecommitdiffstats
path: root/x11vnc/rates.c
diff options
context:
space:
mode:
authorrunge <runge>2006-07-28 20:28:16 +0000
committerrunge <runge>2006-07-28 20:28:16 +0000
commit521f0338af52506e079a5075fbe9350904a67269 (patch)
tree42e67d78a1826f9c24520d52bcde91a9aaec2a2e /x11vnc/rates.c
parent901729e3e04d13d0d7e701c6a6c014f4adc42ce6 (diff)
downloadlibtdevnc-521f0338af52506e079a5075fbe9350904a67269.tar.gz
libtdevnc-521f0338af52506e079a5075fbe9350904a67269.zip
x11vnc: -rotate option
Diffstat (limited to 'x11vnc/rates.c')
-rw-r--r--x11vnc/rates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/rates.c b/x11vnc/rates.c
index 7b00238..8d3a6b5 100644
--- a/x11vnc/rates.c
+++ b/x11vnc/rates.c
@@ -536,7 +536,7 @@ if (db) fprintf(stderr, "dt3 calc: num rects req: %d/%d mod: %d/%d "
} else if (got_t3 == 2) {
dt3 = dts[1];
} else {
- if (dts[2] >= 0.0) {
+ if (dts[2] > 0.0) {
double rat = dts[1]/dts[2];
if (rat > 0.5 && rat < 2.0) {
dt3 = dts[1]+dts[2];