Changeset 175


Ignore:
Timestamp:
May 28, 2005, 7:39:34 PM (20 years ago)
Author:
root
Message:

Clean with reading code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/flesh.c

    r166 r175  
    1111  24 May 05 SHL Rework Win_Error usage
    1212  25 May 05 SHL Rework for ProcessDirectory
     13  28 May 05 SHL Clean with reading code
    1314
    1415***********************************************************************/
     
    3233
    3334
    34 BOOL FleshEnv (HWND hwndCnr,PCNRITEM pciParent) {
    35 
     35BOOL FleshEnv (HWND hwndCnr,PCNRITEM pciParent)
     36{
    3637  PCNRITEM    pciL;
    3738  DIRCNRDATA *dcd;
     
    170171BOOL Flesh(HWND hwndCnr,PCNRITEM pciParent)
    171172{
    172 
    173173  PCNRITEM    pciL;
    174174  DIRCNRDATA *dcd;
     
    211211
    212212
    213 BOOL UnFlesh (HWND hwndCnr,PCNRITEM pciParent) {
    214 
     213BOOL UnFlesh (HWND hwndCnr,PCNRITEM pciParent)
     214{
    215215  BOOL     ret = FALSE;
    216216  PCNRITEM pciL;
    217217
    218   if(!pciParent || !hwndCnr)
     218  if (!pciParent || !hwndCnr)
    219219    return FALSE;
    220   for(;;) {
     220  for (;;)
     221  {
    221222    pciL = (PCNRITEM)WinSendMsg(hwndCnr,
    222223                                CM_QUERYRECORD,
     
    224225                                MPFROM2SHORT(CMA_FIRSTCHILD,
    225226                                             CMA_ITEMORDER));
    226     if(pciL && (INT)pciL != -1) {
     227    if (pciL && (INT)pciL != -1)
     228    {
    227229      ret = TRUE;
    228230      WinSendMsg(hwndCnr,
     
    234236      break;
    235237  }
    236   if(ret)
     238  if (ret)
     239  {
    237240    WinSendMsg(hwndCnr,
    238241               CM_INVALIDATERECORD,
     
    240243               MPFROM2SHORT(1,
    241244                            CMA_ERASE | CMA_REPOSITION));
     245  }
    242246  return ret;
    243247}
     
    245249#define DDEPTH 16
    246250
    247 BOOL Stubby (HWND hwndCnr,PCNRITEM pciParent) {
    248 
     251BOOL Stubby (HWND hwndCnr,PCNRITEM pciParent)
     252{
    249253  /*
    250254   * this code is full of workarounds for screwed up LANs.
     
    540544  return ret;
    541545}
    542 
Note: See TracChangeset for help on using the changeset viewer.