From 72e606411a2f5ceed085c87f5440574128a43098 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Thu, 20 Aug 2015 13:58:10 +0100 Subject: [PATCH] JAL-1833 revised implementation --- src/jalview/gui/JvSwingUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index a9d0e75..c4ed0dc 100644 --- a/src/jalview/gui/JvSwingUtils.java +++ b/src/jalview/gui/JvSwingUtils.java @@ -87,9 +87,9 @@ public final class JvSwingUtils } else { - return enclose ? "

" - + ttext + "

" - : ttext; + return (enclose ? "" : "") + + "

" + + ttext + "

" + ((enclose ? "" : "")); } } -- 1.7.10.2