Ignore:
Timestamp:
Sep 13, 1999, 2:36:35 PM (26 years ago)
Author:
phaller
Message:

Fix: updated to current wine 19990913

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/new/brsfolder.cpp

    r800 r918  
    1313#include "debugtools.h"
    1414#include "winreg.h"
     15#include "authors.h"
    1516#include "winnls.h"
    1617#include "commctrl.h"
     
    9697        if (SUCCEEDED(IShellFolder_GetDisplayNameOf(lpsf, lpi, dwFlags, &str)))
    9798        {
    98           bSuccess = StrRetToStrNA (lpFriendlyName, MAX_PATH, &str, lpi);
     99          if(FAILED(StrRetToStrNA (lpFriendlyName, MAX_PATH, &str, lpi)))
     100          {
     101              bSuccess = FALSE;
     102          }
    99103        }
    100104        else
     
    118122        HWND            hwnd=GetParent(hwndTreeView);
    119123
    120         TRACE("%p %p %x\n",lpsf, pidl, (INT)hParent);
    121        
     124        TRACE("%p %p %x\n",lpsf, pidl, (INT)hParent);   
    122125        SetCapture(GetParent(hwndTreeView));
    123126        SetCursor(LoadCursorA(0, IDC_WAITA));
     
    158161                tvins.hParent      = hParent;
    159162
    160                 hPrev = (HTREEITEM)TreeView_InsertItemW (hwndTreeView, &tvins);
     163                hPrev = (HTREEITEM)TreeView_InsertItemA (hwndTreeView, &tvins);
    161164
    162165              }
Note: See TracChangeset for help on using the changeset viewer.