1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

ttsnoop: NULL is not 0

This fix is a bit of a hack, I just moved the declarations into the
'user code' portion of main().

dtcodegen needs to be fixed so as not to generate this type of code in
the first place.
This commit is contained in:
Jon Trulson 2014-09-14 14:25:55 -06:00
parent abfcb71d1d
commit 6a9327f2ab

View file

@ -340,9 +340,6 @@ main(int argc, char **argv)
XtAppContext app;
Atom save_yourself_atom;
Pixmap icon_pixmap = 0;
Pixmap icon_mask_pixmap = 0;
/**************************************************************************
*** DTB_USER_CODE_START
***
@ -351,6 +348,9 @@ main(int argc, char **argv)
*** Add local variables and code.
***/
Pixmap icon_pixmap = 0;
Pixmap icon_mask_pixmap = 0;
/*
* The application must call DtTermInitialize() before
* initializing the Xt Toolkit with XtAppInitialize(3X).