Ignore:
Timestamp:
2000-07-13T10:21:53+12:00 (24 years ago)
Author:
sjboddie
Message:

merged changes to trunk into New_Config_Format branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New_Config_Format-branch/gsdl/lib/display.cpp

    r1076 r1279  
    2828/*
    2929   $Log$
     30   Revision 1.19.2.1  2000/07/12 22:20:53  sjboddie
     31   merged changes to trunk into New_Config_Format branch
     32
     33   Revision 1.21  2000/06/18 22:56:55  sjboddie
     34   fixed a bug that I'd introduced earlier when attempting to get things
     35   compiling on VC++ 6.0 - the gsdl-2.22 release (and possibly 2.21) was
     36   affected and wouldn't have displayed chinese and Arabic characters
     37   correctly
     38
     39   Revision 1.20  2000/05/12 03:09:23  sjboddie
     40   minor modifications to get web library compiling under VC++ 6.0
     41
    3042   Revision 1.19  2000/04/06 19:57:58  cs025
    3143   Correcting a correction - reinstated all lib files due to silly
     
    684696// bigendian should be set to 1
    685697// 0 will be returned when the end of the file has been found
    686 unsigned short my_uni_get (istream &fin, int &line,
     698unsigned short my_uni_get (unistream &fin, int &line,
    687699               int &isunicode, int &bigendian) {
    688700  unsigned short c = 0;
     
    692704    // get the next two characters
    693705    unsigned char c1 = 0, c2 = 0;
     706   
    694707    if (!fin.eof()) fin.get(c1);
    695708    if (!fin.eof()) fin.get(c2);
     
    766779 
    767780  // open the file
    768   ifstream fin(filenamestr);
     781  unistream fin (filenamestr);
     782
    769783  if (fin.fail()) return -1; // read failed
    770784
Note: See TracChangeset for help on using the changeset viewer.