r22634 by jghali - code style fix

scribus-commit scribus-commit at lists.scribus.net
Tue Aug 14 21:19:06 UTC 2018


Author: jghali
Date: Tue Aug 14 21:19:06 2018
New Revision: 22634

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22634
Log:
code style fix

Modified:
    trunk/Scribus/scribus/fonts/scface_ttf.cpp

Modified: trunk/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22634&path=/trunk/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/scface_ttf.cpp	(original)
+++ trunk/Scribus/scribus/fonts/scface_ttf.cpp	Tue Aug 14 21:19:06 2018
@@ -143,7 +143,8 @@
 //                   .arg(QString::number(sfnt::word16(coll,tableStart),16))
 //                   .arg(QString::number(sfnt::word16(coll,tableStart+2),16)));
 //			sDebug(QObject::tr("memcpy table: %1 %2 %3").arg(pos).arg(tableStart).arg(tableSize));
-			if (!sfnt::copy(bb, pos, coll, tableStart, tableSize)) break;
+			if (!sfnt::copy(bb, pos, coll, tableStart, tableSize))
+				break;
 			// write new offset to table entry
 //			sDebug(QObject::tr("memcpy offset: %1 %2 %3").arg(OFFSET_TABLE_LEN + TDIR_ENTRY_LEN*i + 8).arg(pos).arg(4));
 			// buggy: not endian aware: memcpy(bb.data() + OFFSET_TABLE_LEN + TDIR_ENTRY_LEN * i + 8, &pos, 4);




More information about the scribus-commit mailing list