From 40a7dc769be9c20dbf27e1908d5349035c22fd38 Mon Sep 17 00:00:00 2001 From: "John B. Matthews" Date: Mon, 14 Sep 2009 21:25:58 +0000 Subject: [PATCH] Trim spaces from name in RdosFileEntry.getFileName(). --- .../applecommander/storage/os/rdos/RdosFileEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/webcodepro/applecommander/storage/os/rdos/RdosFileEntry.java b/src/com/webcodepro/applecommander/storage/os/rdos/RdosFileEntry.java index 18cd502..bbab2b6 100644 --- a/src/com/webcodepro/applecommander/storage/os/rdos/RdosFileEntry.java +++ b/src/com/webcodepro/applecommander/storage/os/rdos/RdosFileEntry.java @@ -94,7 +94,7 @@ public class RdosFileEntry implements FileEntry { * Return the name of this file. */ public String getFilename() { - return isDeleted() ? textBundle.get("RdosFileEntry.NotInUse") : AppleUtil.getString(fileEntry, 0, 24); //$NON-NLS-1$ + return isDeleted() ? textBundle.get("RdosFileEntry.NotInUse") : AppleUtil.getString(fileEntry, 0, 24).trim(); //$NON-NLS-1$ } /**