Ignore:
Timestamp:
Sep 5, 2001, 3:19:02 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/wcstring.c

    r6378 r6648  
     1/* $Id: wcstring.c,v 1.2 2001-09-05 13:14:08 bird Exp $ */
    12/*
    23 * NTDLL wide-char functions
     
    286287{
    287288    LPSTR sA = HEAP_strdupWtoA(GetProcessHeap(),0,s),endA;
    288     INT ret = strtol(sA,&endA,base);
     289    INT ret = strtol(sA,&endA,base);
    289290
    290291    HeapFree(GetProcessHeap(),0,sA);
     
    325326
    326327    if (radix > 36 || radix <= 1)
    327         return 0;
     328    return 0;
    328329
    329330    while (v || tp == tmp)
    330331    {
    331         i = v % radix;
    332         v = v / radix;
    333         if (i < 10)
    334             *tp++ = i + '0';
    335         else
    336             *tp++ = i + 'a' - 10;
     332    i = v % radix;
     333    v = v / radix;
     334    if (i < 10)
     335        *tp++ = i + '0';
     336    else
     337        *tp++ = i + 'a' - 10;
    337338    }
    338339
    339340    sp = string;
    340341    while (tp > tmp)
    341         *sp++ = *--tp;
     342    *sp++ = *--tp;
    342343    *sp = 0;
    343344    return string;
Note: See TracChangeset for help on using the changeset viewer.