diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-24 02:10:42 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-24 02:10:42 +0800 |
commit | a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13 (patch) | |
tree | 5131cc754210e515939bfd21b43777fbb372a132 /editors | |
parent | 0f4f2dda183f0640fd279662ba4415fee1ef7098 (diff) | |
download | marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar.gz marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar.bz2 marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar.lz marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar.xz marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.tar.zst marcuscom-ports-a7a42d75ef04a18b2e4fc01d49fac49e22a0bf13.zip |
Fix the crash. I have ported aiksaurus and it works great with this plugins,
but I just need to rewrite port to make it slave aware such as
aiksaurus, aiksaurus-gtk, aiksaurus-php and etc. This plugin will need the
aiksaurus-gtk.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2543 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r-- | editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp b/editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp new file mode 100644 index 000000000..45f8a7dc3 --- /dev/null +++ b/editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp @@ -0,0 +1,20 @@ +--- tools/aiksaurus/xp/AiksaurusABI.cpp.orig Sun Jun 15 07:09:42 2003 ++++ tools/aiksaurus/xp/AiksaurusABI.cpp Fri Jul 23 12:19:18 2004 +@@ -310,13 +310,13 @@ + pView->extSelTo(FV_DOCPOS_EOW_SELECT); + + // Now we will figure out what word to look up when we open our dialog. +- char* search = ""; ++ char* search = NULL; + if (!pView->isSelectionEmpty()) + { + // We need to get the Ascii version of the current word. +- search = AiksaurusABI_ucsToAscii( +- pView->getSelectionText() +- ); ++ UT_UCS4Char *ucs4ST; ++ pView->getSelectionText(*&ucs4ST); ++ search = AiksaurusABI_ucsToAscii(ucs4ST); + } + + // Now we will run the thesaurus dialog and get a response. |