From 451f9b9cc086f5b424523348f816a4b7495580a2 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 8 Dec 2011 12:10:26 +0100 Subject: [PATCH] msvcp90: Added _Locinfo::_Gettnames implementation. --- dlls/msvcp90/locale.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index d0e56164d16..27687ba5ddd 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -30,6 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcp90); char* __cdecl _Getdays(void); char* __cdecl _Getmonths(void); +void* __cdecl _Gettnames(void); typedef int category; @@ -692,7 +693,7 @@ DEFINE_THISCALL_WRAPPER(_Timevec_dtor, 4) void __thiscall _Timevec_dtor(_Timevec *this) { TRACE("(%p)\n", this); - MSVCRT_operator_delete(this->timeptr); + free(this->timeptr); } /* ??4_Timevec@std@@QAEAAV01@ABV01@@Z */ @@ -1015,7 +1016,10 @@ basic_string_char __thiscall _Locinfo__Getname(const _Locinfo *this) DEFINE_THISCALL_WRAPPER(_Locinfo__Gettnames, 4) _Timevec __thiscall _Locinfo__Gettnames(const _Locinfo *this) { - _Timevec ret = { 0 }; /* FIXME */ - FIXME("(%p) stub\n", this); + _Timevec ret; + + TRACE("(%p)\n", this); + + _Timevec_ctor_timeptr(&ret, _Gettnames()); return ret; }