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:
parent
ce0707c149
commit
e8a628ada4
|
@ -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,
|
||||
|
|
|
@ -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() ;
|
||||
|
|
Loading…
Reference in New Issue