svn path=/trunk/; revision=43264
/* Check if we booted from floppy */
MachDiskGetBootPath(reactos_kernel_cmdline, sizeof(reactos_kernel_cmdline));
- BootFromFloppy = strstr(reactos_kernel_cmdline, "fdisk");
+ BootFromFloppy = strstr(reactos_kernel_cmdline, "fdisk") != NULL;
UiDrawStatusText("Loading txtsetup.sif...");
/* Open 'txtsetup.sif' */
MachDiskGetBootPath(SystemPath, sizeof(SystemPath));
/* And check if we booted from floppy */
- BootFromFloppy = strstr(SystemPath, "fdisk");
+ BootFromFloppy = strstr(SystemPath, "fdisk") != NULL;
/* Open 'txtsetup.sif' from any of source paths */
for (i = BootFromFloppy ? 0 : 1; ; i++)