mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 09:18:09 +00:00
Fixed: The hex view does not display bytes if there are too few of them
This commit is contained in:
@@ -48,6 +48,7 @@ All notable changes to this project will be documented in this file.
|
||||
- AS direct editation/highlighter §§pop and §§dup can have getmember or call
|
||||
- [#1295], [#116] AS3 dynamic construction via MultinameL
|
||||
- ABC cleaner not properly fixing namespace sets
|
||||
- The hex view does not display bytes if there are too few of them
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
|
||||
@@ -37,10 +37,7 @@ public class HexViewTableModel extends AbstractTableModel {
|
||||
return 0;
|
||||
}
|
||||
int byteCount = data.length;
|
||||
int rowCount = byteCount / bytesInRow;
|
||||
if (byteCount % bytesInRow != 0) {
|
||||
rowCount++;
|
||||
}
|
||||
int rowCount = (int) Math.ceil(byteCount / (double) bytesInRow);
|
||||
return rowCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user