a6ecbdcfbd
Verbiste is a French conjugation system. It contains a C++ library, and two programs that can be run from the command line or from another program. The knowledge base is represented in XML and contains over 6800 verbs. GNOME Verbiste is a GNOME frontend to the Verbiste French conjugation system. It contains a GNOME program and a GNOME Panel applet. This applet shows a text field in the GNOME Panel where the user can enter a conjugated verb and obtain its complete conjugation. WWW: http://sarrazip.com/dev/verbiste.html PR: ports/89407 Submitted by: Dan Phillips <dan-ports@dp.id.au>
20 lines
741 B
C++
20 lines
741 B
C++
--- src/verbiste/FrenchVerbDictionary.cpp.orig Sun Mar 13 14:03:26 2005
|
|
+++ src/verbiste/FrenchVerbDictionary.cpp Sat Nov 5 21:32:23 2005
|
|
@@ -655,7 +655,7 @@
|
|
char *inbuf = strcpy(new char[inbytesleft], latin1String.c_str());
|
|
char *outbuf = new char[outbytesleft];
|
|
|
|
- char *in = inbuf;
|
|
+ const char *in = inbuf;
|
|
char *out = outbuf;
|
|
if (iconv(toUTF8, &in, &inbytesleft, &out, &outbytesleft) == (size_t) -1)
|
|
{
|
|
@@ -681,7 +681,7 @@
|
|
char *inbuf = strcpy(new char[inbytesleft], utf8String.c_str());
|
|
char *outbuf = new char[outbytesleft];
|
|
|
|
- char *in = inbuf;
|
|
+ const char *in = inbuf;
|
|
char *out = outbuf;
|
|
if (iconv(toLatin1, &in, &inbytesleft, &out, &outbytesleft) == (size_t) -1)
|
|
{
|