diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-21 17:06:16 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-21 17:06:16 +0000 |
commit | 58126f3753a4c2fa2ff3823aa3004578ec7dada4 (patch) | |
tree | a2e20f4efb860546c35483a90d207e55af1a6fc8 /epan/wslua | |
parent | a850669c19ed2038cb5c0094e716621730389abe (diff) | |
download | wireshark-58126f3753a4c2fa2ff3823aa3004578ec7dada4.tar.gz |
fix bug 1321
svn path=/trunk/; revision=20515
Diffstat (limited to 'epan/wslua')
-rw-r--r-- | epan/wslua/template-init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua index 24dc4156e2..8128f01409 100644 --- a/epan/wslua/template-init.lua +++ b/epan/wslua/template-init.lua @@ -51,7 +51,9 @@ end -- to avoid output to stdout which can cause problems lua's print () -- has been suppresed so that it yields an error. -- have print() call info() instead. -print = info +if gui_enabled() then + print = info +end -- %WTAP_ENCAPS% |