mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
630eb2d3af
an object-oriented 3D toolkit offering a comprehensive solution to interactive graphics programming problems. PR: 46731 Submitted by: Christian Gusenbauer <c47g@gmx.at>
37 lines
1.3 KiB
C++
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;
|