[babl] babl-cache: expect newline trouble on win32



commit 2514de5d897f51c98dd534796814ed81f4444f41
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Nov 21 13:42:55 2016 +0100

    babl-cache: expect newline trouble on win32

 babl/babl-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-cache.c b/babl/babl-cache.c
index e0c9365..e1c3dd3 100644
--- a/babl/babl-cache.c
+++ b/babl/babl-cache.c
@@ -207,7 +207,7 @@ void babl_init_db (void)
 {
   const char *path = fish_cache_path ();
   long  length = -1;
-  char  seps[] = "\n";
+  char  seps[] = "\n\r";
   Babl *babl   = NULL;
   char *contents = NULL;
   char *token;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]