[BOOTLIB]
[reactos.git] / reactos / boot / environ / app / bootmgr / bootmgr.c
index c34af5a..46df5ce 100644 (file)
@@ -1403,7 +1403,7 @@ BmpPopulateBootEntryList (
 
         /* Check if this is a real mode startup.com */
         if ((ObjectType.Application.ObjectCode == BCD_OBJECT_TYPE_APPLICATION) &&
-            (ObjectType.Application.ImageCode = BCD_IMAGE_TYPE_REAL_MODE) &&
+            (ObjectType.Application.ImageCode == BCD_IMAGE_TYPE_REAL_MODE) &&
             (ObjectType.Application.ApplicationCode == BCD_APPLICATION_TYPE_STARTUPCOM))
         {
             /* Check if PXE soft reboot will occur */
@@ -2724,6 +2724,7 @@ Quickie:
  *
  *--*/
 NTSTATUS
+NTAPI
 BmMain (
     _In_ PBOOT_APPLICATION_PARAMETER_BLOCK BootParameters
     )
@@ -2952,6 +2953,8 @@ BmMain (
         goto Failure;
     }
 
+    //BlResourceFindMessage(BM_MSG_TEST);
+
     /* At last, enter the boot selection stage */
     SequenceId = 0;
     GetEntry = FALSE;