From 29c133db9643c959f0c9b9df67eaa86669af74cf Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Wed, 28 Nov 2012 19:15:45 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/padiwa.htm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cts/htdocs/thresh/padiwa.htm b/cts/htdocs/thresh/padiwa.htm index b64ffa1..1908e61 100644 --- a/cts/htdocs/thresh/padiwa.htm +++ b/cts/htdocs/thresh/padiwa.htm @@ -72,8 +72,9 @@ function update(data) { o += ""; for(k=1;k<=16;k++) { val = c[j][(i-1)*16+k]; -// if(c[j][(i-1)*16+k]&0x7ff80000 != 0) val = "---"; - o += ""+((val*1).toString(16))+"
"; + if(c[j][(i-1)*16+k]&0x7ff80000 != Math.floor(k/2)<<20) val = "---"; + else val =((val&0xffff*1).toString(16)); + o += ""+val+"
"; } } } -- 2.43.0