swapped 'line' and 'c_str' to make get_short_path() work properly.

* src/GParted_Core.cc: swapped 'line' and 'c_str' to make
  get_short_path() work properly.
This commit is contained in:
Bart Hakvoort 2006-01-24 15:35:14 +00:00
parent ce0707c149
commit e8a628ada4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-01-24 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/GParted_Core.cc: swapped 'line' and 'c_str' to make
get_short_path() work properly.
2006-01-24 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/jfs.cc,

View File

@ -190,7 +190,7 @@ void GParted_Core::init_maps()
line += c_str ;
if ( realpath( line .c_str(), c_str ) )
short_paths[ line ] = c_str ;
short_paths[ c_str ] = line ;
}
proc_partitions .close() ;