-rw-r--r-- | library/storage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/storage.cpp b/library/storage.cpp index 912b22d..f4c1c02 100644 --- a/library/storage.cpp +++ b/library/storage.cpp | |||
@@ -113,3 +113,3 @@ void StorageInfo::update() | |||
113 | || fs.left( 14 ) == "/dev/mmc/part1" | 113 | || fs.left( 14 ) == "/dev/mmc/part1" |
114 | || fs.left(5)=="tmpfs" ) | 114 | || fs.left(5)=="tmpfs" || fs.left(9)=="/dev/root" ) |
115 | { | 115 | { |
@@ -167,2 +167,4 @@ void StorageInfo::update() | |||
167 | humanname = tr("Internal Storage") + " " + disk; | 167 | humanname = tr("Internal Storage") + " " + disk; |
168 | else if ( disk.left(9) == "/dev/root" ) | ||
169 | humanname = tr("Internal Storage") + " " + disk; | ||
168 | else if ( disk.left(5) == "tmpfs" ) //ipaqs /mnt/ramfs | 170 | else if ( disk.left(5) == "tmpfs" ) //ipaqs /mnt/ramfs |