Ignore:
Timestamp:
May 17, 2002, 12:18:06 PM (23 years ago)
Author:
sandervl
Message:

Wine resync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/variant.c

    r7916 r8450  
    33 *
    44 * Copyright 1998 Jean-Claude Cote
     5 *
     6 * This library is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU Lesser General Public
     8 * License as published by the Free Software Foundation; either
     9 * version 2.1 of the License, or (at your option) any later version.
     10 *
     11 * This library is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14 * Lesser General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU Lesser General Public
     17 * License along with this library; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    519 *
    620 * NOTES
     
    2034 *   - The parsing does not accept as many formats as the Windows implementation.
    2135 */
    22 #ifdef __WIN32OS2__
    23 #define HAVE_FLOAT_H
    24 #define WINE_LARGE_INTEGER
    25 #include "oleaut32.h"
    26 
    27 #endif
    2836
    2937#include "config.h"
     
    4250#include "oleauto.h"
    4351#include "heap.h"
    44 #include "debugtools.h"
     52#include "wine/debug.h"
    4553#include "winerror.h"
    4654#include "parsedt.h"
    4755
    48 DEFAULT_DEBUG_CHANNEL(ole);
     56WINE_DEFAULT_DEBUG_CHANNEL(ole);
    4957
    5058#define SYSDUPSTRING(str) SysAllocStringLen((str), SysStringLen(str))
     
    16461654                        ( vt & VT_TYPEMASK ) > VT_MAXVALIDTYPE )
    16471655                {
    1648                         res = E_INVALIDARG;
     1656                        res = DISP_E_BADVARTYPE;
    16491657                }
    16501658                       
     
    19681976          }
    19691977        }
    1970        
    1971         V_VT(pvargDest) = V_VT(pvargSrc) & VT_TYPEMASK;
     1978
     1979        if (res == S_OK) V_VT(pvargDest) = V_VT(pvargSrc) & VT_TYPEMASK;
    19721980      }
    19731981    }
Note: See TracChangeset for help on using the changeset viewer.