~ubuntu-wine/ubuntu/lucid/wine1.2/wine1.2+winepulse

« back to all changes in this revision

Viewing changes to dlls/shell32/shlexec.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-02-02 11:15:03 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100202111503-w4ayji21ei1ginjr
Tags: 1.1.37-0ubuntu1
* New upstream release
  - A number of fixes in AVI file support.
  - Several MSXML improvements.
  - A few MSI fixes.
  - Various bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
587
587
    if (attribs!=INVALID_FILE_ATTRIBUTES && (attribs&FILE_ATTRIBUTE_DIRECTORY))
588
588
    {
589
589
       strcpyW(filetype, wszFolder);
590
 
       filetypelen = 6;    /* strlen("Folder") */
591
590
    }
592
591
    else
593
592
    {
660
659
        else
661
660
        {
662
661
            *filetype = '\0';
663
 
            filetypelen = 0;
664
662
        }
665
663
    }
666
664
 
667
665
    if (*filetype)
668
666
    {
669
667
        /* pass the operation string to SHELL_FindExecutableByOperation() */
670
 
        filetype[filetypelen] = '\0';
671
668
        retval = SHELL_FindExecutableByOperation(lpOperation, key, filetype, command, sizeof(command));
672
669
 
673
670
        if (retval > 32)