~ubuntu-branches/ubuntu/precise/gle-graphics/precise

« back to all changes in this revision

Viewing changes to src/makefmt/parseAFM.cpp

  • Committer: Package Import Robot
  • Author(s): Christian T. Steigies
  • Date: 2011-10-20 22:15:27 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111020221527-sv27lrowdd221npi
Tags: 4.2.3b-1
* new upstream version
* switch from cdbs to debhelper 8
* update copyright file
* do no rely on proc on non-linux systems (closes: #644588)
* do not ship glebtool, which is a helper used only during build
* add libqt4-opengl-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
 *  file is reset to be where it was upon entering this function.
439
439
 */
440
440
 
441
 
// ** GLE ** commented out unused method initializeArray(fp, cwi)
442
 
 
443
 
/*
444
 
static int initializeArray(fp, cwi)
445
 
  FILE *fp;
446
 
  register int *cwi;
 
441
//static int initializeArray(fp, cwi)
 
442
//  FILE *fp;
 
443
//  register int *cwi;
 
444
// ** GLE ** replaced above three lines by the following one
 
445
int initializeArray(FILE *fp, int *cwi)
447
446
{
448
447
    BOOL cont = TRUE, found = FALSE;
449
448
    long opos = ftell(fp);
456
455
        if (keyword == NULL)
457
456
        {
458
457
            error = earlyEOF;
459
 
            break; // get out of loop
 
458
            break; /* get out of loop */
460
459
        }
461
460
        switch(recognize(keyword))
462
461
        {
488
487
            default:
489
488
                error = parseError;
490
489
                break;
491
 
        } // switch
492
 
    } // while
 
490
        } /* switch */
 
491
    } /* while */
493
492
 
494
493
    if (!found)
495
494
        width = 250;
501
500
 
502
501
    return(error);
503
502
 
504
 
} // initializeArray
505
 
*/
 
503
} /* initializeArray */
 
504
 
506
505
 
507
506
/************************* parseCharWidths **************************/
508
507