Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6346

ENHANCEMENT: [WRITE] code improvements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • Other
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=7570)
      write enhancements

      What I found out with the original code is that it used the WCHAR variable 'path' to not only be used for finding the path for the wordpad program, but if there was an error, it used the same exact variable. In hindsight, it used less memory since only one variable was used, but it actually made the code harder to read.

      Also, I have removed the 'goto failure' code and replaced it with a function since the error message code is used twice and should be just as memory efficient.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            milawynsrealm milawynsrealm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: