]> git.lyx.org Git - lyx.git/blobdiff - intl/loadmsgcat.c
Fixed cursor position in minipages and small draw-fix in insettext.
[lyx.git] / intl / loadmsgcat.c
index 515892dfb867d4bf8933d0289a2656ab23cd52b7..48e807324225af3bcb6690a3b571871a8e6c69d1 100644 (file)
@@ -85,7 +85,11 @@ _nl_load_domain (domain_file)
     return;
 
   /* Try to open the addressed file.  */
+#ifdef CYGWIN32
+  fd = open (domain_file->filename, O_RDONLY | O_BINARY);
+#else
   fd = open (domain_file->filename, O_RDONLY);
+#endif
   if (fd == -1)
     return;