fix evil, evil typo that cause all gtk2 based apps to crash
authorLennart Poettering <lennart@poettering.net>
Thu, 25 May 2006 00:40:04 +0000 (00:40 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 May 2006 00:40:04 +0000 (00:40 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@963 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/utils/padsp.c

index d372b69..746965d 100644 (file)
@@ -1693,7 +1693,7 @@ FILE* fopen(const char *filename, const char *mode) {
         }
 
         m = O_RDONLY;
-    } else if (strcmp(filename, "/dev/mixer") != 0)
+    } else if (strcmp(filename, "/dev/mixer") == 0)
         m = O_RDWR;
     else {
         LOAD_FOPEN_FUNC();