diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2014-03-18 00:31:45 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2014-03-18 00:32:22 +0400 |
commit | 5b2bf29674cd1fb97e2b41d077eb1ccb9c6a23da (patch) | |
tree | 9f7c69223a6dfb0b1fd8d5091c3a523b7e30ddbf /main/src/addins/MonoDevelop.HexEditor | |
parent | b6d17000a8d5f51462a9c9ccabb13ab711720c64 (diff) |
[Debugger] Possible fix for bug #18326
Diffstat (limited to 'main/src/addins/MonoDevelop.HexEditor')
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs index 526c53c0f1..002444879c 100644 --- a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs +++ b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs @@ -187,7 +187,7 @@ namespace MonoDevelop.HexEditor } if (i < count) { - var chunk = array.Substring ((int) offset / 2, ((count + 1) - i) / 2); + var chunk = array.Substring ((int) offset / 2, (count - i) / 2); var buf = Encoding.Unicode.GetBytes (chunk); for (int j = 0; j < buf.Length; j++) |