From 29e71ff227cc40145d9636bf0a173a92ee6961a2 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 6 May 2011 14:52:41 +0100 Subject: [PATCH] fix-display-text Bug fix: Text doesn't get displayed in 6.5 Submitted upstream: http://www.opencascade.org/org/forum/thread_20101/ Based on a patch provided on the opencascade forum by Venugopal Gudimetla. Gbp-Pq: Topic submitted Gbp-Pq: Name fix-display-text.patch --- ros/src/OSD/OSD_FontMgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros/src/OSD/OSD_FontMgr.cxx b/ros/src/OSD/OSD_FontMgr.cxx index 5b0f009ee..e827d6fac 100644 --- a/ros/src/OSD/OSD_FontMgr.cxx +++ b/ros/src/OSD/OSD_FontMgr.cxx @@ -236,7 +236,7 @@ void OSD_FontMgr::InitFontDataBase() { #ifndef WNT StringList dirs; Handle(TCollection_HAsciiString) str = new TCollection_HAsciiString; - Display * disp = XOpenDisplay("localhost:0.0"); + Display * disp = XOpenDisplay(NULL); if ( !disp ) { -- 2.30.2