Changeset 7332


Ignore:
Timestamp:
Nov 19, 2013 7:46:30 PM (12 months ago)
Author:
tboeckel
Message:
  • mui/FolderRequestPopup.c: added a NULL pointer check for unresolved folders. This refs #451.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r7330 r7332  
    1111    function omits certain characters due to the length restriction. This closes 
    1212    #453. 
     13  * mui/FolderRequestPopup.c: added a NULL pointer check for unresolved folders. 
     14    This refs #451. 
    1315 
    14162013-11-18 Jens Maus <mail@jens-maus.de> 
  • trunk/src/mui/FolderRequestPopup.c

    r7331 r7332  
    109109  ENTER(); 
    110110 
    111   DoMethod(data->LT_FOLDER, MUIM_NListtree_FindUserData, MUIV_NListtree_FindUserData_ListNode_Root, data->folder->self, MUIV_NListtree_FindUserData_Flag_Activate); 
     111  if(data->folder != NULL) 
     112    DoMethod(data->LT_FOLDER, MUIM_NListtree_FindUserData, MUIV_NListtree_FindUserData_ListNode_Root, data->folder->self, MUIV_NListtree_FindUserData_Flag_Activate); 
     113  else 
     114    set(data->LT_FOLDER, MUIA_NListtree_Active, MUIV_NListtree_Active_Off); 
    112115 
    113116  RETURN(TRUE); 
Note: See TracChangeset for help on using the changeset viewer.