]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-config.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / font-config.cc
index 393feb2b6c93c9a23e9c961199c4fb404af1837a..b59325f55a8e2b890b23f31675be62b24cc9b048 100644 (file)
@@ -62,7 +62,8 @@ init_fontconfig ()
     {
       /* inhibit future messages. */
       FILE *f = fopen ((char*)cache_file, "w");
-      fclose (f);
+      if (f)
+       fclose (f);
     }
   
 }