Changeset 25561 in webkit


Ignore:
Timestamp:
Sep 14, 2007 2:47:28 AM (17 years ago)
Author:
bdash
Message:

2007-09-14 Sven Herzberg <sven@imendio.com>

Reviewed by Adam Roben.

Don't use fontconfig types if necessary, fixes:
http://bugs.webkit.org/show_bug.cgi?id=15203

  • platform/gdk/FontPlatformData.cpp: don't use an FcBool to store the initialized state, use a plain c++ bool instead
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r25557 r25561  
     12007-09-14  Sven Herzberg  <sven@imendio.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        Don't use fontconfig types if necessary, fixes:
     6        http://bugs.webkit.org/show_bug.cgi?id=15203
     7
     8        * platform/gdk/FontPlatformData.cpp: don't use an FcBool to store the
     9        initialized state, use a plain c++ bool instead
     10
    1112007-09-13  Brady Eidson  <beidson@apple.com>
    212
  • trunk/WebCore/platform/gdk/FontPlatformDataGdk.cpp

    r25489 r25561  
    116116bool FontPlatformData::init()
    117117{
    118     static FcBool FCInitialized;
    119     if (FCInitialized)
     118    static bool initialized;
     119    if (initialized)
    120120        return true;
    121     FCInitialized = FcTrue;
     121    initialized = true;
    122122    if (!FcInit()) {
    123123        fprintf(stderr, "Can't init font config library\n");
Note: See TracChangeset for help on using the changeset viewer.