]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/UserInterface/SetupBrowser/Dxe/InputHandler.c
1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
[mirror_edk2.git] / EdkModulePkg / Universal / UserInterface / SetupBrowser / Dxe / InputHandler.c
index ebf038581fe6876be4db7498f809da2efcf37b34..332898f8ad87bc6d919832df787ab79601872919 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
 \r
@@ -25,12 +25,10 @@ Revision History
 #include "Ui.h"\r
 #include "Colors.h"\r
 \r
-#ifndef EFI_MAX\r
 #define EFI_MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b))\r
-#endif\r
 \r
 EFI_STATUS\r
-ReadString (\r
+ReadString(\r
   IN  UI_MENU_OPTION              *MenuOption,\r
   OUT CHAR16                      *StringPtr\r
   )\r
@@ -619,7 +617,7 @@ GetNumericInput (
 \r
 Routine Description:\r
 \r
-  This routine reads a numeric value from the user input.  \r
+  This routine reads a numeric value from the user input.\r
 \r
 Arguments:\r
 \r
@@ -630,14 +628,14 @@ Arguments:
   ManualInput      -  If the input is manual or not.\r
 \r
   Tag              -  Pointer to all the attributes and values associated with a tag.\r
-                 \r
+\r
   Value            -  Pointer to the numeric value that is going to be read.\r
 \r
-Returns: \r
+Returns:\r
 \r
   EFI_SUCCESS       - If numerical input is read successfully\r
   EFI_DEVICE_ERROR  - If operation fails\r
-  \r
+\r
 --*/\r
 {\r
   EFI_INPUT_KEY           Key;\r
@@ -735,9 +733,9 @@ TheKey2:
           Tag->Value  = (UINT16) Number;\r
           *Value      = (UINT16) Number;\r
           UnicodeValueToString (\r
-            FormattedNumber, \r
-            FALSE, \r
-            (UINTN) Number, \r
+            FormattedNumber,\r
+            FALSE,\r
+            (UINTN) Number,\r
             (sizeof (FormattedNumber) / sizeof (FormattedNumber[0]))\r
             );\r
           Number = (UINT16) GetStringWidth (FormattedNumber);\r
@@ -1471,7 +1469,7 @@ TheKey:
             } else {\r
               if (Key.ScanCode == SCAN_UP) {\r
                 TempIndex = Index - 1;\r
-                \r
+\r
                 //\r
                 // Keep going until meets meaningful tag.\r
                 //\r