Change Details
gmenu2x/patches/001-filedialog.patch |
1 | 1 | --- gmenu2x/src/filedialog.cpp 2010-08-03 12:18:26.000000000 +0200 |
2 | | +++ gmenu2xm/src/filedialog.cpp 2010-08-03 13:31:40.000000000 +0200 |
3 | 2 | @@ -35,7 +35,7 @@ |
4 | 3 | this->text = text; |
5 | 4 | this->filter = filter; |
... | ... | |
23 | 23 | case FD_ACTION_GOUP: { |
24 | 24 | string::size_type p = path().rfind("/"); |
25 | 25 | - if (p==string::npos || path().substr(0,11)!="/card" || p<4) |
26 | | + if (p==string::npos || path().substr(0,11)!="/" || p<4) |
| 26 | + if (p==string::npos) |
27 | 27 | return false; |
28 | 28 | else |
29 | 29 | setPath( path().substr(0,p) ); |
Download the corresponding diff file