From 2a6e2c554e9a1b647fa9d6827948c38fdbaf3f2a Mon Sep 17 00:00:00 2001 From: llornkcor Date: Mon, 24 Jun 2002 13:03:30 +0000 Subject: small fix sent some time ago by Max Weninger, for non familiar 'standard' file layout --- diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index ebfd4bf..28a71e9 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -170,7 +170,7 @@ void LnkProperties::setupLocations() if ( (*it)->availBlocks() * (*it)->blockSize() > fileSize + 10000 ) { if ( (*it)->isRemovable() || (*it)->disk() == "/dev/mtdblock1" || - (*it)->disk() == "/dev/mtdblock/1" ) { + (*it)->disk() == "/dev/mtdblock/1" || (*it)->disk().left(13) == "/dev/mtdblock" ) { d->locationCombo->insertItem( (*it)->name(), index ); locations.append( ((*it)->isRemovable() ? (*it)->path() : homeDir) ); if ( lnk->file().contains( (*it)->path() ) ) { -- cgit v0.9.0.2