Run Nindent on com32/lib/syslinux/keyboard.c
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:26 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:26 +0000 (15:10 -0700)
Automatically reformat com32/lib/syslinux/keyboard.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/syslinux/keyboard.c

index 2b31b27..feafde0 100644 (file)
@@ -32,13 +32,13 @@ struct syslinux_keyboard_map __syslinux_keyboard_map;
 
 void __constructor __syslinux_get_keyboard_map(void)
 {
-  static com32sys_t reg;
+    static com32sys_t reg;
 
-  reg.eax.w[0] = 0x001e;
-  __intcall(0x22, &reg, &reg);
-  if (!(reg.eflags.l & EFLAGS_CF)) {
-    __syslinux_keyboard_map.version = reg.eax.w[0];
-    __syslinux_keyboard_map.length  = reg.ecx.w[0];
-    __syslinux_keyboard_map.map = MK_PTR(reg.es, reg.ebx.w[0]);
-  }
+    reg.eax.w[0] = 0x001e;
+    __intcall(0x22, &reg, &reg);
+    if (!(reg.eflags.l & EFLAGS_CF)) {
+       __syslinux_keyboard_map.version = reg.eax.w[0];
+       __syslinux_keyboard_map.length = reg.ecx.w[0];
+       __syslinux_keyboard_map.map = MK_PTR(reg.es, reg.ebx.w[0]);
+    }
 }