mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
patch to add binary mode on opening files (for Windows+Cygwin compatibility).
This commit is contained in:
@@ -595,7 +595,7 @@ readBlackBoxStyle(char *path)
|
||||
char buffer[128], char token[128];
|
||||
WMPropList *style, *p;
|
||||
|
||||
f = fopen(path, "r");
|
||||
f = fopen(path, "rb");
|
||||
if (!f) {
|
||||
perror(path);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user