summaryrefslogtreecommitdiff
path: root/math/grpn/patches/patch-ab
blob: 4ef200194cb63d2f10533a3b0d42d89d1229f4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.1 2002/04/02 02:01:24 dmcmahill Exp $

--- button_def.c.orig	Wed May 26 17:27:42 1999
+++ button_def.c
@@ -42,6 +42,10 @@
       baseCmdCB, (void *)OCTAL },
    { "Bin", "bin", "Binary display mode.",
       baseCmdCB, (void *)BINARY },
+   { "Db10", "db10", "Convert to dB (Power).",
+      genericButtonCB, (void *)Db10Stack },
+   { "Db20", "db20", "Convert to dB (Voltage).",
+      genericButtonCB, (void *)Db20Stack },
    { "Rip", "rip", "Resistors in parallel.",
       genericButtonCB, (void *)RipStack },
    { "Cplx", "cplx", "Create a complex number.", 
@@ -133,7 +137,7 @@
    { 8, 8, num456 },
    { 8, 8, num123 },
    { 8, 8, num0 },
-   { 12, 0, invisible1 }
+   { 14, 0, invisible1 }
 };