~ubuntu-branches/ubuntu/precise/wine/precise

« back to all changes in this revision

Viewing changes to programs/notepad/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2008-06-17 10:22:39 UTC
  • mfrom: (1.1.41 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617102239-s8olx8ehtsdejmhz
Tags: 1.0.0-1ubuntu1
* New upstream release
  - First stable release of Wine
* Change to 1.0.0 versioning scheme since Wine will make a 1.0.1
* Remove dh_installchangelogs since the upstream changelog was removed
  - It is now available online at winehq.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
571
571
 
572
572
        if (cmdline[0] == '"')
573
573
        {
 
574
            WCHAR* wc;
574
575
            cmdline++;
575
 
            cmdline[lstrlen(cmdline) - 1] = 0;
 
576
            wc=cmdline;
 
577
            /* Note: Double-quotes are not allowed in Windows filenames */
 
578
            while (*wc && *wc != '"') wc++;
 
579
            /* On Windows notepad ignores further arguments too */
 
580
            *wc = 0;
576
581
        }
577
582
 
578
583
        if (FileExists(cmdline))