aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_tv_table.erl
diff options
context:
space:
mode:
authorPeti Gomori <[email protected]>2012-06-14 16:47:03 +0200
committerHenrik Nord <[email protected]>2012-06-18 10:14:39 +0200
commit5d299de9e24c79c3029e7d0d0d75bf6ebb774665 (patch)
treed41581c9ce73ca6fdfb4f777d29b86acced1e821 /lib/observer/src/observer_tv_table.erl
parentf530bdb22a3a59ef97b35d7be11f9c06b0c34356 (diff)
downloadotp-5d299de9e24c79c3029e7d0d0d75bf6ebb774665.tar.gz
otp-5d299de9e24c79c3029e7d0d0d75bf6ebb774665.tar.bz2
otp-5d299de9e24c79c3029e7d0d0d75bf6ebb774665.zip
Fix Table Viewer search crash on new|changed|deleted rows
Diffstat (limited to 'lib/observer/src/observer_tv_table.erl')
-rw-r--r--lib/observer/src/observer_tv_table.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_tv_table.erl b/lib/observer/src/observer_tv_table.erl
index 97d18ec03c..786d1a5576 100644
--- a/lib/observer/src/observer_tv_table.erl
+++ b/lib/observer/src/observer_tv_table.erl
@@ -613,7 +613,7 @@ search([Str, Row, Dir0, CaseSens],
search(Row, Dir, Re, Table) ->
Res = try lists:nth(Row+1, Table) of
- Term ->
+ [Term|_] ->
Str = format(Term),
re:run(Str, Re)
catch _:_ -> no_more