Fixed regression I introduced while fixing Gtk-doc warnings
authorPhilip Chimento <philip.chimento@gmail.com>
Fri, 30 Apr 2010 11:02:23 +0000 (11:02 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Fri, 30 Apr 2010 11:02:23 +0000 (11:02 +0000)
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@249 ddfedd41-794f-dd11-ae45-00112f111e67

libchimara/glkunix.c

index 13b44ec4fb91eb38b58bd55f287df7fa371826c1..83d89896e1a4179518d7f04691fcd80c9cecbc22 100644 (file)
@@ -34,7 +34,7 @@ glkunix_stream_open_pathname(char *pathname, glui32 textmode, glui32 rock)
        g_return_val_if_fail(pathname, NULL);
        g_return_val_if_fail(strlen(pathname) > 0, NULL);
        
-       frefid_t fileref = fileref_new(pathname, rock, usage, filemode_Read);
+       frefid_t fileref = fileref_new(pathname, rock, textmode, filemode_Read);
        return file_stream_new(fileref, filemode_Read, rock, FALSE);
 }