foxygit / doom Log in
commit 6805e192226d33c6431b1aaf60e84e1b5ea6f707
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jan 20 01:59:39 2008 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jan 20 01:59:39 2008 +0000

    Use strcmp(), not strcasecmp() for checking driver name

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1004
---
 pcsound/pcsound.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcsound/pcsound.c b/pcsound/pcsound.c
index 3e6c3ae9..aeba5148 100644
--- a/pcsound/pcsound.c
+++ b/pcsound/pcsound.c
@@ -87,7 +87,7 @@ int PCSound_Init(pcsound_callback_func callback_func)
     {
         for (i=0; drivers[i] != NULL; ++i)
         {
-            if (!strcasecmp(drivers[i]->name, driver_name))
+            if (!strcmp(drivers[i]->name, driver_name))
             {
                 // Found the driver!