diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2024-03-01 18:47:16 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2024-03-02 16:25:40 -0500 |
commit | 1b1d164cdcd3b30d1effb4a07a40ae1cf08d0419 (patch) | |
tree | 4fb0f5985b53697159b004842ed7958c94346fee | |
parent | ff9312d99940be2d81d91601ad6c1688da1016bd (diff) |
reduce variable-length argument lists to match the existing code
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | src/XawIm.c | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/src/XawIm.c b/src/XawIm.c index 24daa35..0e5eef5 100644 --- a/src/XawIm.c +++ b/src/XawIm.c @@ -908,8 +908,7 @@ CreateIC(Widget w, XawVendorShellExtPart *ve) USE_PE(6), USE_PE(7), USE_PE(8), USE_PE(9), USE_PE(10), USE_PE(11), USE_PE(12), USE_PE(13), USE_PE(14), - USE_PE(15), USE_PE(16), USE_PE(17), - USE_PE(18), NULL); + USE_PE(15), NULL); ADD_IC(XNPreeditAttributes); ADD_IC(pe_attr); } @@ -919,10 +918,7 @@ CreateIC(Widget w, XawVendorShellExtPart *ve) st_attr = XVaCreateNestedList(0, USE_ST(0), USE_ST(1), USE_ST(2), USE_ST(3), USE_ST(4), USE_ST(5), USE_ST(6), USE_ST(7), USE_ST(8), - USE_ST(9), USE_ST(10), USE_ST(11), - USE_ST(12), USE_ST(13), USE_ST(14), - USE_ST(15), USE_ST(16), USE_ST(17), - USE_ST(18), NULL); + USE_ST(9), USE_ST(10), USE_ST(11), NULL); ADD_IC(XNStatusAttributes); ADD_IC(st_attr); } @@ -930,9 +926,7 @@ CreateIC(Widget w, XawVendorShellExtPart *ve) p->xic = XCreateIC(ve->im.xim, USE_IC(0), USE_IC(1), USE_IC(2), USE_IC(3), USE_IC(4), USE_IC(5), USE_IC(6), USE_IC(7), USE_IC(8), - USE_IC(9), USE_IC(10), USE_IC(11), USE_IC(12), - USE_IC(13), USE_IC(14), USE_IC(15), USE_IC(16), - USE_IC(17), USE_IC(18), NULL); + USE_IC(9), NULL); if (pe_attr) XtFree(pe_attr); if (st_attr) XtFree(st_attr); @@ -1050,9 +1044,7 @@ SetICValues(Widget w, XawVendorShellExtPart *ve, Bool focus) USE_PE(3), USE_PE(4), USE_PE(5), USE_PE(6), USE_PE(7), USE_PE(8), USE_PE(9), USE_PE(10), USE_PE(11), - USE_PE(12), USE_PE(13), USE_PE(14), - USE_PE(15), USE_PE(16), USE_PE(17), - USE_PE(18), NULL); + USE_PE(12), USE_PE(13), NULL); ADD_IC(XNPreeditAttributes); ADD_IC(pe_attr); } @@ -1061,10 +1053,7 @@ SetICValues(Widget w, XawVendorShellExtPart *ve, Bool focus) st_attr = XVaCreateNestedList(0, USE_ST(0), USE_ST(1), USE_ST(2), USE_ST(3), USE_ST(4), USE_ST(5), USE_ST(6), USE_ST(7), USE_ST(8), - USE_ST(9), USE_ST(10), USE_ST(11), - USE_ST(12), USE_ST(13), USE_ST(14), - USE_ST(15), USE_ST(16), USE_ST(17), - USE_ST(18), NULL); + USE_ST(9), NULL); ADD_IC(XNStatusAttributes); ADD_IC(st_attr); } @@ -1075,10 +1064,7 @@ SetICValues(Widget w, XawVendorShellExtPart *ve, Bool focus) if (ic_cnt > 0) { END_IC(); XSetICValues(p->xic, USE_IC(0), USE_IC(1), USE_IC(2), USE_IC(3), - USE_IC(4), USE_IC(5), USE_IC(6), USE_IC(7), USE_IC(8), - USE_IC(9), USE_IC(10), USE_IC(11), USE_IC(12), USE_IC(13), - USE_IC(14), USE_IC(15), USE_IC(16), USE_IC(17), - USE_IC(18), NULL); + USE_IC(4), USE_IC(5), NULL); if (pe_attr) XtFree(pe_attr); if (st_attr) XtFree(st_attr); } |