summaryrefslogtreecommitdiff
path: root/editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp')
-rw-r--r--editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp16
1 files changed, 16 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 000000000000..a395724db32f
--- /dev/null
+++ b/editors/abiword-plugins/files/patch-tools::aiksaurus::xp::AiksaurusABI.cpp
@@ -0,0 +1,16 @@
+--- tools/aiksaurus/xp/AiksaurusABI.cpp.orig Fri Aug 13 21:09:34 2004
++++ tools/aiksaurus/xp/AiksaurusABI.cpp Fri Aug 13 21:10:33 2004
+@@ -310,11 +310,11 @@
+ 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.
+- UT_UCS4Char * ucs4ST;
++ UT_UCS4Char * ucs4ST;
+ pView->getSelectionText(*&ucs4ST);
+ search = AiksaurusABI_ucsToAscii(
+ ucs4ST