summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-10-29 17:48:11 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-10-29 17:48:11 +0000
commit62251737c3728a7dc5b760f55644e3d6ec3a8747 (patch)
tree8b6f6d3e7f7669a6eb6e75a6fd0d25b5d1e09dd4 /data
parent3f542c6eeda4397ebc07c7fad3dc0a9c3a1e4403 (diff)
downloadnohands-62251737c3728a7dc5b760f55644e3d6ec3a8747.tar.gz
Fix the presentation of unknown in the history dialog.
git-svn-id: http://nohands.svn.sourceforge.net/svnroot/nohands/trunk@21 126591fb-c623-4b62-a76d-97a8e4f34109
Diffstat (limited to 'data')
-rwxr-xr-xdata/hfconsole.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/hfconsole.in b/data/hfconsole.in
index eb64fa5..32fab62 100755
--- a/data/hfconsole.in
+++ b/data/hfconsole.in
@@ -988,6 +988,10 @@ class HfConsole:
for x in ags:
addr = self.addr_untransform(x[0])
name = x[1]
+ if not name:
+ name = addr
+ else:
+ name = "%s (%s)" % (name, addr)
self.historyresults.append(row=[name, 0, addr])
dlg.show()