Commit f86a8ea6 authored by jmalonzo@webkit.org's avatar jmalonzo@webkit.org

2009-06-12 Jan Michael Alonzo <jmalonzo@webkit.org>

        Gtk build fix: include cstdio so we can use sscanf

        Gtk/Win Cairo build fix: use isASCIISpace instead of isspace
        Suggested by Brent Fulgham

        * platform/image-decoders/xbm/XBMImageDecoder.cpp:
        (WebCore::XBMImageDecoder::decodeDatum):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ace59596
2009-06-12 Jan Michael Alonzo <jmalonzo@webkit.org>
Gtk build fix: include cstdio so we can use sscanf
Gtk/Win Cairo build fix: use isASCIISpace instead of isspace
Suggested by Brent Fulgham
* platform/image-decoders/xbm/XBMImageDecoder.cpp:
(WebCore::XBMImageDecoder::decodeDatum):
2009-06-12 Peter Kasting <pkasting@google.com>
Yet another Skia bustage fix.
......@@ -31,7 +31,10 @@
#include "config.h"
#include "XBMImageDecoder.h"
#include "ASCIICType.h"
#include <algorithm>
#include <cstdio>
namespace WebCore {
......@@ -196,7 +199,7 @@ bool XBMImageDecoder::decodeDatum(uint16_t* result)
return false;
// Skip whitespace
while (*endPtr && isspace(*endPtr))
while (*endPtr && isASCIISpace(*endPtr))
++endPtr;
// Out of input, don't know what comes next.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment