[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23

Fotios Sioutis sfotis at gmail.com
Fri Feb 24 18:50:49 UTC 2012


The following commit has been merged in the upstream branch:
commit 88f13b60d8e38c824199cf941ef03e17822a16ad
Author: Fotios Sioutis <sfotis at gmail.com>
Date:   Tue Jan 17 16:53:06 2012 +0200

    fixed illegal character inclusion
    
    OSD_FontMgr.cxx had an illegal character 0xc2 which did not allow
    compilation to finish properly under bcc.

diff --git a/src/OSD/OSD_FontMgr.cxx b/src/OSD/OSD_FontMgr.cxx
index a39b377..231f6c5 100644
--- a/src/OSD/OSD_FontMgr.cxx
+++ b/src/OSD/OSD_FontMgr.cxx
@@ -165,7 +165,7 @@ void OSD_FontMgr::InitFontDataBase() {
   Standard_Character *font_dir = new Standard_Character[ req_size + strlen("\\Fonts\\") + 1 ]  ;  
 
   if( !strcpy( font_dir, windir_var ) )
-    delete [] windir_var;
+    delete [] windir_var;
     delete [] font_dir;
     return  ;   
   if( !strcat( font_dir, "\\Fonts\\" ) )

-- 
OCE packaging



More information about the debian-science-commits mailing list