~ubuntu-branches/ubuntu/wily/wine/wily

« back to all changes in this revision

Viewing changes to dlls/sane.ds/ui.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2008-10-18 00:44:19 UTC
  • mfrom: (1.1.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20081018004419-j4p62oxfecgji9m8
Tags: 1.0.1-0ubuntu1
* New upstream release
  - Bug Fix only release (LP: #285341)
* Update includes our tools/wine.desktop patch, so we no longer have that

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "sane_i.h"
37
37
#include "wine/debug.h"
38
38
#include "resource.h"
 
39
#include "wine/unicode.h"
39
40
 
40
41
#ifdef SONAME_LIBSANE
41
42
 
622
623
        else
623
624
            si = position;
624
625
 
625
 
        len = wsprintfW( buffer, formatW, si );
 
626
        len = sprintfW( buffer, formatW, si );
626
627
    }
627
628
    else if  (opt->type == SANE_TYPE_FIXED)
628
629
    {
636
637
        else
637
638
            dd = position * 0.01;
638
639
 
639
 
        len = wsprintfW( buffer, formatW, dd );
 
640
        len = sprintfW( buffer, formatW, dd );
640
641
    }
641
642
    else return;
642
643