ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/UI/UIMemoryViewer.cs (file contents):
Revision 273 by william, Sun Jun 3 16:50:16 2012 UTC vs.
Revision 274 by william, Sun Jun 3 21:41:19 2012 UTC

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/03 21:26:28	273
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/03 21:41:19	274
@@ -141,7 +141,7 @@ namespace RomCheater.Docking.UI
             int TotalHeight = txtData.Height;
             int NumberOfBytes = (int)((TotalHeight / ByteHeight) * max_address_width);
             int byte_width = (max_address_width * 2);
-            max_ram_view = NumberOfBytes + (byte_width - 1);
+            max_ram_view = NumberOfBytes + (byte_width);
         }
         private void btnGotoAddress_Click(object sender, EventArgs e)
         {