Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276338 | Differences between
and this patch

Collapse All | Expand All

(-)blender/source/gameengine/VideoTexture/Exception.cpp.orig (-4 / +4 lines)
Lines 21-27 Link Here
21
*/
21
*/
22
22
23
23
24
#include <strstream>
24
#include <sstream>
25
#include <fstream>
25
#include <fstream>
26
26
27
#include <PyObjectPlus.h>
27
#include <PyObjectPlus.h>
Lines 170-180 Link Here
170
		// length of result code
170
		// length of result code
171
		const size_t rsltSize = 11;
171
		const size_t rsltSize = 11;
172
		// delimit description
172
		// delimit description
173
		const char delimRslt[] = ": ";
173
		//const char delimRslt[] = ": ";
174
		// set text of description
174
		// set text of description
175
		char rsltTxt[rsltSize];
175
		char rsltTxt[rsltSize];
176
		std::ostrstream os(rsltTxt, rsltSize);
176
		std::ostringstream os;
177
		os << std::hex << m_hRslt << delimRslt << '\0';
177
		os << std::hex << m_hRslt << ": " << '\0';
178
		// copy result to description
178
		// copy result to description
179
		m_desc.insert(0, rsltTxt);
179
		m_desc.insert(0, rsltTxt);
180
		// copy exception description to last exception string
180
		// copy exception description to last exception string

Return to bug 276338