Ignore:
Timestamp:
Jul 2, 2010, 9:59:46 AM (10 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: EVFSGUI: Fix crash after bad return value from *RxGetMount?() in GetChildren?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-2.0/evfsgui/evfsgui.VRX

    r455 r471  
    14911491    ELSE               icon = '#68:PMWP.DLL'
    14921492    rh = VRMethod('CN_CURRENT', 'AddRecord', parec, 'Last', info.0, icon )
    1493     IF rh == '' THEN RETURN
     1493    IF rh == '' | datatype(res.0) <> "NUM" THEN RETURN
    14941494
    14951495    exc = exc + 1
     
    26962696
    26972697        /* In case the mountpoint was created for this failed operation, it is (optionally) removed again */
    2698         if CreateMP = 0 & \advanced.!alwaysmp then do
     2698        if CreateMP = 0 & advanced.!alwaysmp <> 1 then do
    26992699            dyn ="ok = "fs.!prefix"RxDeleteMountPoint( vfs.!mountpoint )"
    27002700            interpret dyn
Note: See TracChangeset for help on using the changeset viewer.