[vbox-dev] [PATCH] Fix some typos and indent
François Revol
revol at free.fr
Mon Mar 14 18:29:35 GMT 2011
While copying stuff for the Haiku port I noticed some typos in the NT code:
- <VBox/log.h> is lowercase l. Even though NT is supposed to be case insensitive it shouldn't hurt,
- bad indentation,
- grammar.
This patch is under MIT license.
Index: src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
===================================================================
--- src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp (revision 36094)
+++ src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp (working copy)
@@ -668,7 +668,7 @@
break;
}
continue;
- }
+ }
else
{
Log(("VBoxTray: VBoxClipboardThread: VbglR3ClipboardGetHostMsg u32Msg = %ld, u32Formats = %ld\n", u32Msg, u32Formats));
Index: src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp
===================================================================
--- src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp (revision 36094)
+++ src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp (working copy)
@@ -18,7 +18,7 @@
#include <windows.h>
#include <iprt/string.h>
-#include <VBox/Log.h>
+#include <VBox/log.h>
#include <VBox/VBoxGuestLib.h>
#include <VBoxGuestInternal.h>
Index: src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
===================================================================
--- src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk (revision 36094)
+++ src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk (working copy)
@@ -56,7 +56,7 @@
ifdef VBOX_WITH_WDDM
VBoxTray_DEFS += VBOX_WITH_WDDM
# VBoxTray_DEFS += LOG_ENABLED
- # we need only includes for PFND3DKMT stuff as all we link dynamicaly to it
+ # we need only includes for PFND3DKMT stuff as all we link dynamically to it
include $(KBUILD_PATH)/sdks/WINDDK.kmk
VBoxTray_INCS += $(PATH_SDK_WINDDK_INC_API) $(PATH_SDK_WINDDK_INC_DDK)
endif
Index: src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h
===================================================================
--- src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h (revision 36094)
+++ src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h (working copy)
@@ -28,7 +28,7 @@
#include <iprt/string.h>
#include <VBox/version.h>
-#include <VBox/Log.h>
+#include <VBox/log.h>
#include <VBox/VBoxGuest.h> /** @todo use the VbglR3 interface! */
#include <VBox/VBoxGuestLib.h>
#include <VBoxDisplay.h>
More information about the vbox-dev
mailing list