summaryrefslogtreecommitdiff
path: root/src/TextAction.c
AgeCommit message (Collapse)Author
2022-05-07Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-09Pass correct number of atoms from SelectSave to _XawTextSaltAwaySelectionAlan Coopersmith
When filling in the array, we correctly limited to the 256 slots allocated but then we reset the value to an unlimited number when passing it on to the function that walks the array, which could lead to it walking too far. Fixes https://gitlab.freedesktop.org/xorg/lib/libxaw/issues/2 Reported-by: Praveen Kumar <praveen.pk@samsung.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (Adapted from libXaw commit c01d47c4c0e0a66e0989d40f73827d0a55f693cc)
2015-09-27Get rid of some extraneous ; at the end of C source linesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-19Fix a couple unused function warningsMatt Turner
Functions were only called inside ifdef blocks, but were defined outside. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-17Fix several unused variable warningsAlan Coopersmith
All but one are due to variables defined outside #ifdef's but only used inside #ifdef'ed code blocks. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-09-04Add conditional include config.h to source files as done in libXawGaetan Nadon
Expections: TexTr.c, sharedlib.c ans generated lex and yacc C code. XawI18n.h needs HAVE_WCTYPE_H and HAVE_WCHAR_H. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Include Xaw3dP.h using #include <X11/Xaw3d/Xaw3dP.h>Gaetan Nadon
All published Xaw3d header file are included this way. The -I directive to include/X11/Xaw3d is removed which will alert developers not to include header files with quotes unless they are in the /src directory. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-31TextAction: Fix old-style function definitionsYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-02Strip trailing whitespace.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-02Fix implicit function declarations.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Purge CVS tags.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Move sources to src/.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>