Ignore:
Timestamp:
May 1, 2006, 1:49:48 PM (19 years ago)
Author:
tomernic
Message:

Reviewed by Adele.

<rdar://problem/4526114> REGRESSION (two days ago): LOG() just prints @ for NSObject substitutions

  • kxmlcore/Assertions.cpp: Changed sense of strstr("%@") check. I already made the same fix to the WebBrowser assertions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kxmlcore/Assertions.cpp

    r14004 r14140  
    4444{
    4545#if PLATFORM(MAC)
    46     if (!strstr(format, "%@")) {
     46    if (strstr(format, "%@")) {
    4747        CFStringRef cfFormat = CFStringCreateWithCString(NULL, format, kCFStringEncodingUTF8);
    4848        CFStringRef str = CFStringCreateWithFormatAndArguments(NULL, NULL, cfFormat, args);
Note: See TracChangeset for help on using the changeset viewer.