Ignore:
Timestamp:
Mar 6, 2011, 12:41:38 AM (11 years ago)
Author:
Silvan Scherrer
Message:

poppler, jpeg, freetype lib updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/fofi/FoFiType1.cc

    r461 r470  
    1414// under GPL version 2 or later
    1515//
    16 // Copyright (C) 2005, 2008 Albert Astals Cid <aacid@kde.org>
     16// Copyright (C) 2005, 2008, 2010 Albert Astals Cid <aacid@kde.org>
    1717// Copyright (C) 2005 Kristian HÞgsberg <krh@redhat.com>
    1818// Copyright (C) 2010 Jakub Wilk <ubanus@users.sf.net>
     
    3232#include <string.h>
    3333#include "goo/gmem.h"
     34#include "goo/GooLikely.h"
    3435#include "FoFiEncodings.h"
    3536#include "FoFiType1.h"
     
    244245              }
    245246            }
    246             if (code < 256) {
     247            if (likely(code < 256 && code >= 0)) {
    247248              for (p = p2; *p == ' ' || *p == '\t'; ++p) ;
    248249              if (*p == '/') {
Note: See TracChangeset for help on using the changeset viewer.