Home » U++ Library support » FileSel&FileList, Path » Little fix for FileSel::AddPlace
Little fix for FileSel::AddPlace [message #33267] |
Thu, 21 July 2011 12:36 |
qapko
Messages: 55 Registered: October 2007 Location: Slovakia
|
Member |
|
|
Hello,
on my computer (Windows XP SP3) the GetVideoFolder() and GetDownloadFolder() functions return empty String (I don't know why and it doesn't bother me now). I had to change the code for FileSel::AddPlace(...) method to reflect such a situation:
FileSel& FileSel::AddPlace(const String& path, const Image& m, const String& name)
{
if(path.GetCount()) // added
AddPlaceRaw(NormalizePath(path), m, name);
return *this;
}
Is this fix OK?
Gabi
|
|
|
Goto Forum:
Current Time: Wed Jun 05 04:56:38 CEST 2024
Total time taken to generate the page: 0.01611 seconds
|