Fix typos in comments
Francois Gouget
fgouget at free.fr
Mon Feb 5 22:42:20 CST 2001
Changelog:
* libtest/vartest.c,
dlls/dplayx/dplay.c,
dlls/ole32/storage.c,
dlls/shell32/shv_bg_cmenu.c
Fix typos in comments
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
La terre est une bêta...
-------------- next part --------------
Index: libtest/vartest.c
===================================================================
RCS file: /home/cvs/wine/wine/libtest/vartest.c,v
retrieving revision 1.7
diff -u -r1.7 vartest.c
--- libtest/vartest.c 2000/11/10 20:33:59 1.7
+++ libtest/vartest.c 2001/01/29 11:01:41
@@ -965,8 +965,8 @@
{
/* Trying to use variants that are set to be BSTR but
* do not contain a valid pointer makes the program crash
- * in Windows so we will skip those. We do not need them
- * anyways to illustrate the behavior.
+ * in Windows so we will skip those. We do not need them
+ * anyway to illustrate the behavior.
*/
if( i == VT_BSTR )
i = 77;
Index: dlls/dplayx/dplay.c
===================================================================
RCS file: /home/cvs/wine/wine/dlls/dplayx/dplay.c,v
retrieving revision 1.26
diff -u -r1.26 dplay.c
--- dlls/dplayx/dplay.c 2001/01/26 20:43:43 1.26
+++ dlls/dplayx/dplay.c 2001/01/29 11:00:21
@@ -3551,10 +3551,10 @@
dpName.u2.lpszLongNameA = NULL;
/* Create the compound address for the service provider.
- NOTE: This is a gruesome architectural scar right now. DP uses DPL and DPL uses DP
- nast stuff. This may be why the native dll just gets around this little bit by
- allocating an 80 byte buffer which isn't even a filled with a valid compound
- address. Oh well. Creating a proper compound address is the way to go anyways
+ NOTE: This is a gruesome architectural scar right now. DP uses DPL and DPL uses DP,
+ nasty stuff. This may be why the native dll just gets around this little bit by
+ allocating an 80 byte buffer which isn't even filled with a valid compound
+ address. Oh well. Creating a proper compound address is the way to go anyway...
despite this method taking slightly more heap space and realtime :) */
dpCompoundAddress.dwDataSize = sizeof( GUID );
memcpy( &dpCompoundAddress.guidDataType, &DPAID_ServiceProvider,
@@ -3656,10 +3656,10 @@
dpName.u2.lpszLongNameA = NULL;
/* Create the compound address for the service provider.
- NOTE: This is a gruesome architectural scar right now. DP uses DPL and DPL uses DP
- nast stuff. This may be why the native dll just gets around this little bit by
- allocating an 80 byte buffer which isn't even a filled with a valid compound
- address. Oh well. Creating a proper compound address is the way to go anyways
+ NOTE: This is a gruesome architectural scar right now. DP uses DPL and DPL uses DP,
+ nasty stuff. This may be why the native dll just gets around this little bit by
+ allocating an 80 byte buffer which isn't even filled with a valid compound
+ address. Oh well. Creating a proper compound address is the way to go anyway...
despite this method taking slightly more heap space and realtime :) */
dpCompoundAddress.guidDataType = DPAID_LobbyProvider;
dpCompoundAddress.dwDataSize = sizeof( GUID );
Index: dlls/ole32/storage.c
===================================================================
RCS file: /home/cvs/wine/wine/dlls/ole32/storage.c,v
retrieving revision 1.15
diff -u -r1.15 storage.c
--- dlls/ole32/storage.c 2001/01/04 22:59:49 1.15
+++ dlls/ole32/storage.c 2001/01/29 11:01:03
@@ -1582,7 +1582,7 @@
}
lpstg = MapSL((SEGPTR)*ppstgOpen);
lpstg->hf = hf;
- /* FIXME: check for existance before overwriting? */
+ /* FIXME: check for existence before overwriting? */
if (!STORAGE_init_storage(hf)) {
CloseHandle(hf);
return E_FAIL;
Index: dlls/shell32/shv_bg_cmenu.c
===================================================================
RCS file: /home/cvs/wine/wine/dlls/shell32/shv_bg_cmenu.c,v
retrieving revision 1.12
diff -u -r1.12 shv_bg_cmenu.c
--- dlls/shell32/shv_bg_cmenu.c 2000/11/01 03:11:13 1.12
+++ dlls/shell32/shv_bg_cmenu.c 2001/01/29 11:01:15
@@ -363,7 +363,7 @@
TRACE("(%p)->(idcom=%x flags=%x %p name=%p len=%x)\n",This, idCommand, uFlags, lpReserved, lpszName, uMaxNameLen);
- /* test the existance of the menu items, the file dialog enables
+ /* test the existence of the menu items, the file dialog enables
the buttons according to this */
if (uFlags == GCS_VALIDATEA)
{
More information about the wine-patches
mailing list