summaryrefslogtreecommitdiffstatshomepage
path: root/tableview.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-30 22:13:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-21 15:09:54 +0100
commitde48684f1e09e6c4030c1cdb8a7707fa399b5668 (patch)
treefb87ad3f4ceac4ea0bee7c7976980b4939e72f3e /tableview.go
parentdatabinding: disable reflection for better dead code elimination (diff)
downloadwireguard-windows-de48684f1e09e6c4030c1cdb8a7707fa399b5668.tar.xz
wireguard-windows-de48684f1e09e6c4030c1cdb8a7707fa399b5668.zip
Remove math/big usage
Diffstat (limited to 'tableview.go')
-rw-r--r--tableview.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/tableview.go b/tableview.go
index 9605f718..e879c911 100644
--- a/tableview.go
+++ b/tableview.go
@@ -9,7 +9,6 @@ package walk
import (
"encoding/json"
"fmt"
- "math/big"
"reflect"
"syscall"
"time"
@@ -2105,13 +2104,6 @@ func (tv *TableView) lvWndProc(origWndProcPtr uintptr, hwnd win.HWND, msg uint32
text = checkmark
}
- case *big.Rat:
- prec := tv.columns.items[col].precision
- if prec == 0 {
- prec = 2
- }
- text = formatBigRatGrouped(val, prec)
-
default:
text = fmt.Sprintf(tv.columns.items[col].format, val)
}