diff options
| author | Maho Nakata <maho@FreeBSD.org> | 2003-08-03 06:56:12 +0000 |
|---|---|---|
| committer | Maho Nakata <maho@FreeBSD.org> | 2003-08-03 06:56:12 +0000 |
| commit | 630eb2d3afb2f27b5ca5d0b25af7e915c66f7b8a (patch) | |
| tree | 15b71419c82ce8d48c3fd14f2d0ac69bd4e23824 /graphics/inventor/files/patch-SoText3.c++ | |
| parent | Update to 2.1.4 (diff) | |
SGI's Open Inventor (TM)
an object-oriented 3D toolkit offering a comprehensive
solution to interactive graphics programming problems.
PR: 46731
Submitted by: Christian Gusenbauer <c47g@gmx.at>
Diffstat (limited to 'graphics/inventor/files/patch-SoText3.c++')
| -rw-r--r-- | graphics/inventor/files/patch-SoText3.c++ | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/inventor/files/patch-SoText3.c++ b/graphics/inventor/files/patch-SoText3.c++ new file mode 100644 index 000000000000..e5be93d7a900 --- /dev/null +++ b/graphics/inventor/files/patch-SoText3.c++ @@ -0,0 +1,19 @@ +*** lib/database/src/so/nodes/SoText3.c++.orig Mon Dec 23 13:37:59 2002 +--- lib/database/src/so/nodes/SoText3.c++ Mon Dec 23 13:38:15 2002 +*************** +*** 2291,2297 **** + size_t outbytes = 2*inbytes+2; + char* output = (char*)UCSStrings[i]; + +! if ((iconv(conversionCode, &input, &inbytes, &output, &outbytes) == (size_t)-1)){ + #ifdef DEBUG + SoDebugError::post("SoOutlineFontCache::convertToUCS", + "Error converting text to UCS-2"); +--- 2291,2297 ---- + size_t outbytes = 2*inbytes+2; + char* output = (char*)UCSStrings[i]; + +! if ((iconv(conversionCode, (const char **)&input, &inbytes, &output, &outbytes) == (size_t)-1)){ + #ifdef DEBUG + SoDebugError::post("SoOutlineFontCache::convertToUCS", + "Error converting text to UCS-2"); |
