summaryrefslogtreecommitdiff
path: root/audio/cheesetracker/patches/patch-ae
blob: 827dca113e8cc8eed795777d8234807d323f1248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.2 2002/06/23 13:51:43 kent Exp $

--- trackercore/loader_wav.cpp.orig	Wed Jun 19 23:08:42 2002
+++ trackercore/loader_wav.cpp
@@ -159,7 +159,7 @@
 
 
    // try and open the file
-   FILE* Source = fopen( p_filename, "rb+" ); // haha I used b
+   FILE* Source = fopen( p_filename, "rb" ); // haha I used b
    if( !Source ) return FILE_ERROR;
 
    // our detection scheme is simple, we just need to see a riff chunk first thing.