When testing smatch i found a minor bug in libXaw.

re,
 wh


--- libXaw-1.0.7/src.org/TextSrc.c      2010-08-16 18:42:12.000000000 +0200
+++ libXaw-1.0.7/src/TextSrc.c  2010-08-16 18:43:17.000000000 +0200
@@ -537,10 +537,11 @@
     Cardinal size;

     switch (*(XawTextEditType *)fromVal->addr) {
-       case XawtextAppend:
+
        case XawtextRead:
            buffer = XtEtextRead;
            break;
+       case XawtextAppend:
            buffer = XtEtextAppend;
            break;
        case XawtextEdit:


_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to