summaryrefslogtreecommitdiff
path: root/src/Tip.c
AgeCommit message (Collapse)Author
2022-05-07convert ISO8859-1 encoded source files to UTF-8Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-02-15Fix segfaults on tip popupsDevin J. Pohly
When XAW_INTERNATIONALIZATION isn't defined, some uninitialized stack data was being passed to XtGetValues. This makes it not do that. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=46124 Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Devin J. Pohly <djpohly+xorg@gmail.com>
2012-01-22Include <stdlib.h> for abs()Jeremy Huddleston
Tip.c:336:9: error: implicit declaration of function 'abs' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ksy += abs(ext->max_ink_extent.y); ^ 1 error generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.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-31Tip: 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-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>