From ab93b003857d9975705e10ae8755fa32682db07d Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 24 Feb 2009 19:31:32 +0000 Subject: Ported wxutils from soap branch (Should make launch and explore work in Linux and osx as well) please test on windows. Fixed a compile bug and a small bug in the cdutils(thanks lp). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2420 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CDUtils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/Common/Src/CDUtils.cpp') diff --git a/Source/Core/Common/Src/CDUtils.cpp b/Source/Core/Common/Src/CDUtils.cpp index 6b5927287e..533a102942 100644 --- a/Source/Core/Common/Src/CDUtils.cpp +++ b/Source/Core/Common/Src/CDUtils.cpp @@ -2,7 +2,6 @@ With minor adjustments */ #include "CDUtils.h" -#include "common.h" /*! Follow symlinks until we have the real device file @@ -413,7 +412,7 @@ bool cdio_is_cdrom(const char *device) { char **devices = cdio_get_devices(); bool res = false; for (int i = 0; devices[i] != NULL; i++) { - if (strncmp(devices[i], device, PATH_MAX)) { + if (strncmp(devices[i], device, PATH_MAX) == 0) { res = true; break; } -- cgit v1.2.3