git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e3ccc
)
getWidth -1 for trim right
author
amwaterhouse
<Andrew Waterhouse>
Fri, 2 Feb 2007 17:34:53 +0000
(17:34 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 2 Feb 2007 17:34:53 +0000
(17:34 +0000)
src/jalview/commands/TrimRegionCommand.java
patch
|
blob
|
history
diff --git
a/src/jalview/commands/TrimRegionCommand.java
b/src/jalview/commands/TrimRegionCommand.java
index
8166ed6
..
37518bc
100644
(file)
--- a/
src/jalview/commands/TrimRegionCommand.java
+++ b/
src/jalview/commands/TrimRegionCommand.java
@@
-62,7
+62,7
@@
public class TrimRegionCommand
}
\r
else if (command.equalsIgnoreCase(TRIM_RIGHT))
\r
{
\r
- int width = al.getWidth()-column;
\r
+ int width = al.getWidth()-column-1;
\r
if(width<2)
\r
{
\r
return;
\r