~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to prnt/hpijs/context2.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-12-23 11:04:31 UTC
  • mfrom: (2.1.158 natty)
  • Revision ID: james.westby@ubuntu.com-20101223110431-ev5wz1it6b7jce51
Tags: 3.10.9-1
New Upstream Release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1299
1299
    {
1300
1300
        return UNSUPPORTED_PRINTER;
1301
1301
    }
 
1302
        if(0 == strnlen((const char *)pSS->strDevID, DevIDBuffSize))
 
1303
        {
 
1304
                strncpy((char *)pSS->strDevID,szDeviceId,DevIDBuffSize);
 
1305
        }
1302
1306
    thePrinter = pPFI->CreatePrinter (pSS, familyHandle);
1303
1307
    if (thePrinter->constructor_error != NO_ERROR)
1304
1308
    {