Author: tretiakov
Date: Sat Feb 10 10:28:25 2007
New Revision: 25759
URL:
http://svn.reactos.org/svn/reactos?rev=25759&view=rev
Log:
Add braces to if.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c Sat Feb 10 10:28:25 2007
@@ -158,8 +158,14 @@
*phModule = EngLoadImage(FullLayoutPath.Buffer);
- if(!*phModule) DPRINT1( "Failed to load %wZ\n", &FullLayoutPath );
- else DPRINT( "Loaded Keyboard Layout: %wZ\n", &FullLayoutPath );
+ if(!*phModule)
+ {
+ DPRINT1( "Failed to load %wZ\n", &FullLayoutPath );
+ }
+ else
+ {
+ DPRINT( "Loaded Keyboard Layout: %wZ\n", &FullLayoutPath );
+ }
RtlInitAnsiString( &kbdProcedureName, "KbdLayerDescriptor" );
LdrGetProcedureAddress((PVOID)*phModule,
@@ -204,7 +210,7 @@
if(!UserLoadKbdDll(NewKbl->Name, &NewKbl->hModule,
&NewKbl->KBTables))
{
- DPRINT1("%s: failed to load %x dll!\n", LocaleId);
+ DPRINT1("%s: failed to load %x dll!\n", __FUNCTION__, LocaleId);
ExFreePool(NewKbl);
return NULL;
}
@@ -240,7 +246,10 @@
{
DPRINT1("Could not get default locale (%08lx).\n", Status);
}
- else DPRINT("DefaultLocale = %08lx\n", LocaleId);
+ else
+ {
+ DPRINT("DefaultLocale = %08lx\n", LocaleId);
+ }
if(!NT_SUCCESS(Status) || !(DefaultKL = UserLoadDllAndCreateKbl(LocaleId)))
{