1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/inventor/files/patch-TextWrapper.c++
Maho Nakata 630eb2d3af 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>
2003-08-03 06:56:12 +00:00

37 lines
1.3 KiB
C++

*** apps/demos/textomatic/TextWrapper.c++.orig Thu Jan 2 15:29:27 2003
--- apps/demos/textomatic/TextWrapper.c++ Thu Jan 2 15:31:00 2003
***************
*** 77,83 ****
char *output = outbuf;
//
if ( global_iconvCodeL2 == (iconv_t)-1 ||
! iconv(global_iconvCodeL2,&input,&inbytesleft,&output,&outbytesleft) == (size_t)-1 )
{
fprintf( stderr, "textomatic: iconv error.\n" );
(*(UCS2 *)outbuf)=0;
--- 77,83 ----
char *output = outbuf;
//
if ( global_iconvCodeL2 == (iconv_t)-1 ||
! iconv(global_iconvCodeL2,(const char **)&input,&inbytesleft,&output,&outbytesleft) == (size_t)-1 )
{
fprintf( stderr, "textomatic: iconv error.\n" );
(*(UCS2 *)outbuf)=0;
***************
*** 229,235 ****
char *output = outbuf;
//
if ( global_iconvCode28 == (iconv_t)-1 ||
! iconv( global_iconvCode28,&input,&inbytesleft,&output,&outbytesleft ) == (size_t)-1 )
{
fprintf( stderr, "textomatic: iconv error.\n" );
(*(UCS2 *)outbuf)=0;
--- 229,235 ----
char *output = outbuf;
//
if ( global_iconvCode28 == (iconv_t)-1 ||
! iconv( global_iconvCode28,(const char **)&input,&inbytesleft,&output,&outbytesleft ) == (size_t)-1 )
{
fprintf( stderr, "textomatic: iconv error.\n" );
(*(UCS2 *)outbuf)=0;