summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/structs.go')
-rw-r--r--toolkit/andlabs/structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go
index 90f9409..374627c 100644
--- a/toolkit/andlabs/structs.go
+++ b/toolkit/andlabs/structs.go
@@ -87,9 +87,10 @@ func (t *Toolkit) String() string {
}
func forceDump(t *Toolkit) {
+ tmp := DebugToolkit
DebugToolkit = true
t.Dump()
- DebugToolkit = false
+ DebugToolkit = tmp
}
func (t *Toolkit) GetText() string {