Ignore:
Timestamp:
Mar 15, 2006, 4:44:31 PM (19 years ago)
Author:
eseidel
Message:

2006-03-15 Eric Seidel <[email protected]>

Reviewed by adele.

Build fix.

  • kjs/date_object.cpp: (KJS::DateProtoFunc::callAsFunction): use size() not "len()"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/date_object.cpp

    r13311 r13318  
    559559  char timebuffer[bufsize];
    560560  CString oldlocale = setlocale(LC_TIME, 0);
    561   if (!oldlocale.len())
     561  if (!oldlocale.size())
    562562    oldlocale = setlocale(LC_ALL, 0);
    563563  // FIXME: Where's the code to set the locale back to oldlocale?
Note: See TracChangeset for help on using the changeset viewer.