~ubuntu-branches/ubuntu/precise/wine1.2/precise

« back to all changes in this revision

Viewing changes to dlls/winspool.drv/info.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-12-06 00:21:37 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206002137-ywazcomhqf97iw3c
Tags: 1.2.2-0ubuntu1
* New upstream release (LP: #685474)
  - Support for animated cursors. 
  - Translation updates.
  - Various bug fixes. (LP: #665270)
* Add Japanese font aliases to workaround lack of fontconfig substitution
* Recommend requisite umefont as a default (same as Crossover)
* Conflict with "wine" << 1.2.1 to prevent upgrade failures from very old
  ppa packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1010
1010
       printers AddPrinter takes a while.  So we'll tag all printers that
1011
1011
       were automatically added last time around, if they still exist
1012
1012
       we'll leave them be otherwise we'll delete them. */
1013
 
    EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &needed, &num);
1014
 
    if(needed) {
 
1013
    if (EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &needed, &num) && needed) {
1015
1014
        PRINTER_INFO_5A* pi = HeapAlloc(GetProcessHeap(), 0, needed);
1016
1015
        if(EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, (LPBYTE)pi, needed, &needed, &num)) {
1017
1016
            for(i = 0; i < num; i++) {