[OS/2] Bug 413530: fix icon display of files without extensions in listings, fix=Rich Walsh, r=me
git-svn-id: svn://10.0.0.236/trunk@244250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -455,8 +455,10 @@ static HPOINTER GetIcon(nsCString& file, PRBool fExists,
|
||||
HPOINTER hRtn = 0;
|
||||
*fWpsIcon = PR_FALSE;
|
||||
|
||||
if (file.IsEmpty())
|
||||
return 0;
|
||||
if (file.IsEmpty()) {
|
||||
// append something so that we get at least the generic icon
|
||||
file.Append("pmwrlw");
|
||||
}
|
||||
|
||||
// if RWS is enabled, try to get the icon from the WPS
|
||||
if (sUseRws) {
|
||||
|
||||
Reference in New Issue
Block a user