All pastes #2129331 Raw Edit

Stuff

public diff v1 · immutable
#2129331 ·published 2012-03-17 18:14 UTC
rendered paste body
--- QT_Spec.cpp+++ QT_Spec.cpp@@ -1238,7 +1238,7 @@ com_GetTextExtentW(w_char  *txt, int *width, int *height, int cb, TextDEF *TxtSet, QPainter *qP) { 	int i;-	QString wtxt(0);+	QString wtxt;  	if(!txt || !txt[0]) return com_QStringExt(QString("a"), width, height, 1, TxtSet, qP); 	for(i = 0; txt[i] && i < cb; i++) wtxt.append(QChar(txt[i]));@@ -1326,7 +1326,7 @@ bool com_TextOutW(int x, int y, w_char *wtxt, TextDEF *TxtSet, QPainter *qP, anyOutput *o) { 	int i;-	QString txt(0);+	QString txt;  	if(!wtxt || !wtxt[0] || !TxtSet || !qP || !o) return false; 	for(i = 0; wtxt[i]; i++) txt.append(QChar(wtxt[i]));