From ec8b12d5baba8f317ccf84755c56affd308d81f1 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 1 Sep 2013 14:54:33 +0000 Subject: [PATCH] [FRAMEDYN] Fix a typo (and so a bug), spotted by MSVC. I don't thank you G++... Attempt to fix build with MSVC svn path=/trunk/; revision=59941 --- reactos/dll/win32/framedyn/chstring.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reactos/dll/win32/framedyn/chstring.cpp b/reactos/dll/win32/framedyn/chstring.cpp index 2697825736b..dd47fe13288 100644 --- a/reactos/dll/win32/framedyn/chstring.cpp +++ b/reactos/dll/win32/framedyn/chstring.cpp @@ -771,7 +771,7 @@ int CHString::GetLength() const */ void CHString::Init() { - m_pchData == afxPchNil; + m_pchData = afxPchNil; } /* @@ -1336,7 +1336,7 @@ CHString::operator LPWSTR() /* * @implemented */ -CHString operator+(WCHAR ch, const CHString& string) throw (CHeap_Exception) +CHString WINAPI operator+(WCHAR ch, const CHString& string) throw (CHeap_Exception) { CHString NewString; @@ -1349,7 +1349,7 @@ CHString operator+(WCHAR ch, const CHString& string) throw (CHeap_Exception) /* * @implemented */ -CHString operator+(const CHString& string, WCHAR ch) throw (CHeap_Exception) +CHString WINAPI operator+(const CHString& string, WCHAR ch) throw (CHeap_Exception) { CHString NewString; @@ -1362,7 +1362,7 @@ CHString operator+(const CHString& string, WCHAR ch) throw (CHeap_Exception) /* * @implemented */ -CHString operator+(const CHString& string, LPCWSTR lpsz) throw (CHeap_Exception) +CHString WINAPI operator+(const CHString& string, LPCWSTR lpsz) throw (CHeap_Exception) { int Len; CHString NewString; @@ -1378,7 +1378,7 @@ CHString operator+(const CHString& string, LPCWSTR lpsz) throw (CHeap_Exception) /* * @implemented */ -CHString operator+(LPCWSTR lpsz, const CHString& string) throw (CHeap_Exception) +CHString WINAPI operator+(LPCWSTR lpsz, const CHString& string) throw (CHeap_Exception) { int Len; CHString NewString; @@ -1394,7 +1394,7 @@ CHString operator+(LPCWSTR lpsz, const CHString& string) throw (CHeap_Exception) /* * @implemented */ -CHString operator+(const CHString& string1, const CHString& string2) throw (CHeap_Exception) +CHString WINAPI operator+(const CHString& string1, const CHString& string2) throw (CHeap_Exception) { CHString NewString;