mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Merge pull request #1784 from karlmortensen/showSectors
Switch to showing sectors for both start and end
This commit is contained in:
commit
852fc8ac84
@ -64,7 +64,7 @@ public class VolumeNode extends AbstractContentNode<Volume> {
|
|||||||
// set name, display name, and icon
|
// set name, display name, and icon
|
||||||
String volName = nameForVolume(vol);
|
String volName = nameForVolume(vol);
|
||||||
|
|
||||||
long end = vol.getStart() + (vol.getSize() - 1);
|
long end = vol.getStart() + (vol.getLength() - 1);
|
||||||
String tempVolName = volName + " (" + vol.getDescription() + ": " + vol.getStart() + "-" + end + ")";
|
String tempVolName = volName + " (" + vol.getDescription() + ": " + vol.getStart() + "-" + end + ")";
|
||||||
this.setDisplayName(tempVolName);
|
this.setDisplayName(tempVolName);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user