~ubuntu-branches/ubuntu/precise/poppler/precise-proposed

« back to all changes in this revision

Viewing changes to fofi/FoFiType1.cc

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-12-13 12:51:26 UTC
  • mfrom: (1.5.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101213125126-v88rtmpszuv46f22
Tags: 0.14.5-0ubuntu1
* New upstream release
* debian/control:
  - Use standards-version 3.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
// All changes made under the Poppler project to this file are licensed
14
14
// under GPL version 2 or later
15
15
//
16
 
// Copyright (C) 2005, 2008 Albert Astals Cid <aacid@kde.org>
 
16
// Copyright (C) 2005, 2008, 2010 Albert Astals Cid <aacid@kde.org>
17
17
// Copyright (C) 2005 Kristian Høgsberg <krh@redhat.com>
18
18
// Copyright (C) 2010 Jakub Wilk <ubanus@users.sf.net>
19
19
//
243
243
                code = code * 8 + (*p2 - '0');
244
244
              }
245
245
            }
246
 
            if (code < 256) {
 
246
            if (code < 256 && code >= 0) {
247
247
              for (p = p2; *p == ' ' || *p == '\t'; ++p) ;
248
248
              if (*p == '/') {
249
249
                ++p;