Author: tfaber Date: Tue Oct 20 08:15:30 2015 New Revision: 69626
URL: http://svn.reactos.org/svn/reactos?rev=69626&view=rev Log: [RAPPS] - Pass the correct buffer size to StringCbCopyW
Modified: trunk/reactos/base/applications/rapps/misc.c trunk/reactos/base/applications/rapps_new/misc.cpp
Modified: trunk/reactos/base/applications/rapps/misc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/mis... ============================================================================== --- trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] Tue Oct 20 08:15:30 2015 @@ -431,7 +431,7 @@
/* copy the locale-dependent string into the buffer of the future neutral one */ StringCbCopyW(szCachedINISectionLocaleNeutral, - sizeof(szCachedINISectionLocale), + sizeof(szCachedINISectionLocaleNeutral), szCachedINISectionLocale);
/* turn "Section.0c0a" into "Section.0a", keeping just the neutral lang part */
Modified: trunk/reactos/base/applications/rapps_new/misc.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps_new... ============================================================================== --- trunk/reactos/base/applications/rapps_new/misc.cpp [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps_new/misc.cpp [iso-8859-1] Tue Oct 20 08:15:30 2015 @@ -431,7 +431,7 @@
/* copy the locale-dependent string into the buffer of the future neutral one */ StringCbCopyW(szCachedINISectionLocaleNeutral, - sizeof(szCachedINISectionLocale), + sizeof(szCachedINISectionLocaleNeutral), szCachedINISectionLocale);
/* turn "Section.0c0a" into "Section.0a", keeping just the neutral lang part */