Changeset 32517 in webkit


Ignore:
Timestamp:
Apr 24, 2008 2:45:31 PM (16 years ago)
Author:
andersca@apple.com
Message:

2008-04-24 Anders Carlsson <andersca@apple.com>

Windows build fix.


  • html/HTMLFormElement.cpp: (WebCore::pathGetFilename):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r32510 r32517  
     12008-04-24  Anders Carlsson  <andersca@apple.com>
     2
     3        Windows build fix.
     4       
     5        * html/HTMLFormElement.cpp:
     6        (WebCore::pathGetFilename):
     7
    182008-04-24  Anders Carlsson  <andersca@apple.com>
    29
  • trunk/WebCore/html/HTMLFormElement.cpp

    r32498 r32517  
    219219    return wxFileName(path).GetFullName();
    220220#elif PLATFORM(WIN_OS)
    221     return String(PathFindFileName(path.charactersWithNullTermination()));
     221    String copy(path);
     222    return String(::PathFindFileName(copy.charactersWithNullTermination()));
    222223#else
    223224    return path.substring(path.reverseFind('/') + 1);
Note: See TracChangeset for help on using the changeset viewer.