Ignore:
Timestamp:
Oct 19, 2011, 11:26:02 AM (14 years ago)
Author:
dmik
Message:

Replace "\" with "/" in include statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/shlwapi/string_odin.cpp

    r21494 r21720  
    4242#include <heapstring.h>
    4343#include <misc.h>
    44 #include <win\shell.h>
    45 #include <win\winerror.h>
     44#include <win/shell.h>
     45#include <win/winerror.h>
    4646#include <winversion.h>
    4747#include <winuser.h>
     
    179179       (lpString2 == NULL) )
    180180    return 0;
    181  
     181
    182182  LPSTR lpLoop = (LPSTR)lpString1;
    183  
     183
    184184  for (; (*lpLoop != 0); lpLoop++ )
    185185    if ( StrChrA( lpString2, *lpLoop ) )
    186186      return (INT) (lpLoop - lpString1);
    187  
     187
    188188  return (INT) (lpLoop - lpString1);
    189189}
     
    213213       (lpString2 == NULL) )
    214214    return 0;
    215  
     215
    216216  LPWSTR lpLoop = (LPWSTR)lpString1;
    217  
     217
    218218  for (; (*lpLoop != 0); lpLoop++ )
    219219    if ( StrChrW( lpString2, *lpLoop ) )
    220220      return (INT) (lpLoop - lpString1);
    221  
     221
    222222  return (INT) (lpLoop - lpString1);
    223223}
     
    230230 * Variables :
    231231 * Result    :
    232  * Remark    : 
     232 * Remark    :
    233233 * Status    : UNTESTED
    234234 *
     
    241241{
    242242  register LPSTR s1;
    243  
     243
    244244  while (*lpString1)
    245245  {
     
    255255    lpString1++;
    256256  }
    257  
     257
    258258  return (LPSTR)NULL;
    259259}
     
    266266 * Variables :
    267267 * Result    :
    268  * Remark    : 
     268 * Remark    :
    269269 * Status    : UNTESTED
    270270 *
     
    277277{
    278278  register LPWSTR s1;
    279  
     279
    280280  while (*lpString1)
    281281  {
     
    291291    lpString1++;
    292292  }
    293  
     293
    294294  return (LPWSTR)NULL;
    295295}
     
    304304
    305305  dprintf(("StrRStrIA %x %x %x NOT IMPLEMENTED correctly", lpFirst, lpSrch, unknown));
    306  
     306
    307307  // lpSrch cannot fit into lpFirst
    308308  if (iLen < 0)
    309309    return (LPSTR)NULL;
    310  
     310
    311311  LPSTR lpThis = (LPSTR)lpFirst + iLen;
    312  
     312
    313313  while (lpThis >= lpFirst)
    314314  {
     
    318318    lpThis--;
    319319  }
    320  
     320
    321321  return NULL;
    322322}
     
    331331
    332332  dprintf(("StrRStrIA %x %x %x NOT IMPLEMENTED correctly", lpFirst, lpSrch, unknown));
    333  
     333
    334334  // lpSrch cannot fit into lpFirst
    335335  if (iLen < 0)
    336336    return (LPWSTR)NULL;
    337  
     337
    338338  LPWSTR lpThis = (LPWSTR)lpFirst + iLen;
    339  
     339
    340340  while (lpThis >= lpFirst)
    341341  {
     
    345345    lpThis--;
    346346  }
    347  
     347
    348348  return NULL;
    349349}
Note: See TracChangeset for help on using the changeset viewer.