diff options
author | Egbert Eich <eich@suse.de> | 2004-02-27 21:30:51 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-02-27 21:30:51 +0000 |
commit | 3bb36193baa784e6180430e27f90e003a0c6ff32 (patch) | |
tree | 1e9ceb2db548cea1f65c12368d6a4e04781ed743 | |
parent | 909a8dfa8f50bf20d05461bf144ee5121c540b34 (diff) | |
download | xorg-lib-libXaw-3bb36193baa784e6180430e27f90e003a0c6ff32.tar.gz |
5. Reversed Xinerama changes (Egbert Eich).
4. Reversed Xutf8* to XFree86utf8* function name changes for the release
(Egbert Eich).
3. Removed sources for patch which were included when patch had a bad bug
(Egbert Eich).
2. Removed unnecessary fonts (Egbert Eich).
1. Removed XIE and PEX extension files from release tree. The build
environment has been gone already (Egbert Eich).
-rw-r--r-- | src/Text.c | 2 | ||||
-rw-r--r-- | src/TextAction.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2085,7 +2085,7 @@ TextConvertSelection(Widget w, Atom *selection, Atom *target, Atom *type, textprop.value = (unsigned char *)*value; textprop.nitems = strlen(*value); textprop.format = 8; - if (XFree86utf8TextPropertyToTextList(d, &textprop, &list, &count) + if (Xutf8TextPropertyToTextList(d, &textprop, &list, &count) < Success || count < 1) { XtFree((char *)*value); diff --git a/src/TextAction.c b/src/TextAction.c index 57337e4..ee64ba2 100644 --- a/src/TextAction.c +++ b/src/TextAction.c @@ -1099,7 +1099,7 @@ ConvertSelection(Widget w, Atom *selection, Atom *target, Atom *type, textprop.value = (unsigned char *)*value; textprop.nitems = strlen(*value); textprop.format = 8; - if (XFree86utf8TextPropertyToTextList(d, &textprop, &list, &count) + if (Xutf8TextPropertyToTextList(d, &textprop, &list, &count) < Success || count < 1) { XtFree(*value); |