Ignore:
Timestamp:
Jan 21, 2007, 5:34:28 PM (15 years ago)
Author:
Eugene Romanenko
Message:

Odd/Even? printing for 'As Image' printing, pdf plugin: fix document title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.cpp

    r156 r183  
    10051005        size_t unilen = s->getLength() + 1;
    10061006        UniChar *unibuf = new UniChar[ unilen ];
     1007        memset( unibuf, 0, unilen * sizeof( UniChar ) );
    10071008        UniChar *tmpuni = unibuf;
    10081009        const char *from = s->getCString() + 2;
    1009         size_t fromlen = s->getLength() * 2;
     1010        size_t fromlen = s->getLength() - 2;
    10101011        UniUconvToUcs( objUniBe, (void **)&from, &fromlen, &tmpuni, &unilen, &cSubs );
    10111012        unilen = UniStrlen( unibuf );
Note: See TracChangeset for help on using the changeset viewer.