r14550 by jghali - fix bad typo causing font flags to be incorrectly set after setting font weight (thanks mhx!)

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 20 23:00:34 CET 2010


Revision: 14550
Author: jghali
Date: 2010-01-20T21:58:56.729815Z
Commit message: fix bad typo causing font flags to be incorrectly set after setting font weight (thanks mhx!)

Changeset: 
M  /trunk/Scribus/scribus/gtfont.cpp

Diffs:
Index: scribus/gtfont.cpp
===================================================================
--- scribus/gtfont.cpp	(revision 14549)
+++ scribus/gtfont.cpp	(revision 14550)
@@ -246,7 +246,7 @@
 	{
 		setSlant(NO_SLANT);
 		setWidth(NO_WIDTH);
-		setflags |= ~weightWasSet;
+		setflags &= ~weightWasSet;
 	}
 	if (weightIndex < 0)
 	{




More information about the scribus-commit mailing list