Ignore:
Timestamp:
Aug 26, 1999, 2:56:02 PM (26 years ago)
Author:
sandervl
Message:

Cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/nameid.cpp

    r571 r705  
    1 /* $Id: nameid.cpp,v 1.7 1999-08-19 10:25:27 sandervl Exp $ */
     1/* $Id: nameid.cpp,v 1.8 1999-08-26 12:55:36 sandervl Exp $ */
    22
    33/*
     
    2424#include <winimage.h>
    2525#include <winexe.h>
    26 #include "os2util.h"
    2726
    2827/******************************************************************************/
     
    4948//******************************************************************************
    5049//******************************************************************************
    51 char *StripPath(char *path)
    52 {
    53   /* @@@PH what does this function do ? Strip the path from a FQFN name ? */
    54   char *pszFilename;
    55  
    56   pszFilename = strrchr(path, '\\');                 /* find rightmost slash */
    57   if (pszFilename != NULL)
    58     return (pszFilename++);              /* return pointer to next character */
    59  
    60   pszFilename = strrchr(path, '/');                  /* find rightmost slash */
    61   if (pszFilename != NULL)
    62     return (pszFilename++);              /* return pointer to next character */
    63  
    64   return (path);                                     /* default return value */
    65 }
    66 //******************************************************************************
    67 //******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.