mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
patch to add binary mode on opening files (for Windows+Cygwin compatibility).
This commit is contained in:
@@ -492,7 +492,7 @@ loadData(WScreen *scr)
|
||||
RImage *image;
|
||||
Pixmap d[12];
|
||||
|
||||
f = fopen(PKGDATADIR"/xtree.dat", "r");
|
||||
f = fopen(PKGDATADIR"/xtree.dat", "rb");
|
||||
if (!f)
|
||||
return False;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user