[Libreoffice-commits] core.git: Branch 'aoo/trunk' - vcl/source

Pedro Giffuni pfg at apache.org
Sun Nov 29 22:08:37 PST 2015


 vcl/source/fontsubset/ttcr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 447564d554092424ea839aad8870aeab65c9a05e
Author: Pedro Giffuni <pfg at apache.org>
Date:   Mon Nov 30 05:50:16 2015 +0000

    Fix mismatch in r1717119

diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx
index 0d22a2e..2c4b564 100644
--- a/vcl/source/fontsubset/ttcr.cxx
+++ b/vcl/source/fontsubset/ttcr.cxx
@@ -394,7 +394,7 @@ int StreamToFile(TrueTypeCreator *_this, const char* fname)
     FILE* fd;
 
     if ((r = StreamToMemory(_this, &ptr, &length)) != SF_OK) return r;
-    if ((!fname) || (fd = fopen(fname, "wb")) == NULL)) {
+    if ((!fname) || ((fd = fopen(fname, "wb")) == NULL)) {
         free(ptr);
         return SF_BADFILE;
     }


More information about the Libreoffice-commits mailing list