Changeset 4365


Ignore:
Timestamp:
Oct 2, 2000, 3:11:47 PM (25 years ago)
Author:
phaller
Message:

Fixed possible bug in strrchr() call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/gdi32/text.cpp

    r4034 r4365  
    1 /* $Id: text.cpp,v 1.12 2000-08-18 18:14:59 sandervl Exp $ */
     1/* $Id: text.cpp,v 1.13 2000-10-02 13:11:47 phaller Exp $ */
    22
    33/*
     
    319319      newText = (char*)malloc(newTextLen+1);
    320320      strncpy(newText,lpchText,cchText);
    321       slashPos = strrchr(newText,(int)"\\");
     321     
     322      // PH 2000/10/01 "//" appeared wrong ...
     323      slashPos = strrchr(newText,(int)'\\');
    322324      if (slashPos != NULL)
    323325      {
Note: See TracChangeset for help on using the changeset viewer.