Ignore:
Timestamp:
Aug 10, 2000, 4:19:58 AM (25 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/heapstring.cpp

    r3815 r3976  
    1 /* $Id: heapstring.cpp,v 1.30 2000-07-10 18:38:51 sandervl Exp $ */
     1/* $Id: heapstring.cpp,v 1.31 2000-08-10 02:19:57 phaller Exp $ */
    22
    33/*
     
    524524                         (void**)&out_buf, &out_bytes_left,
    525525                         &num_subs);
    526 
     526   
     527    /* @@@PH 2000/08/10
     528     * this causes the last character in the converted
     529     * target string to be chopped off. I.e. causes CMD.EXE
     530     * to loose the CRLF functionality.
     531     */
     532     /*
    527533    unilen -= 1+out_bytes_left; //end + left bytes
    528534    astring[unilen] = 0; //terminate
     535    */
    529536
    530537    return unilen; //length of string (excluding terminator)
     
    621628                        &out_buf,        &uni_chars_left,
    622629                        &num_subs );
    623 
     630   
     631    /* @@@PH 2000/08/10
     632     * this causes the last character in the converted
     633     * target string to be chopped off. I.e. causes CMD.EXE
     634     * to enter command correctly.
     635     */
     636    /*
    624637    asciilen -= 1+uni_chars_left; //end + left bytes
    625638
    626639    unicode[asciilen] = 0; // always terminate string
     640    */
     641     
    627642    return asciilen; //length of string (excluding terminator)
    628643  }
Note: See TracChangeset for help on using the changeset viewer.