mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm/graphics: NULL is not 0
This commit is contained in:
parent
ee4a0a37ea
commit
2bcd57ce33
1 changed files with 5 additions and 5 deletions
|
@ -170,10 +170,10 @@ static unsigned char gray_data_25[] = {
|
||||||
0x11
|
0x11
|
||||||
};
|
};
|
||||||
|
|
||||||
static Pixmap black_data_pixmap = NULL;
|
static Pixmap black_data_pixmap = 0;
|
||||||
static Pixmap gray_data_75_pixmap = NULL;
|
static Pixmap gray_data_75_pixmap = 0;
|
||||||
static Pixmap gray_data_50_pixmap = NULL;
|
static Pixmap gray_data_50_pixmap = 0;
|
||||||
static Pixmap gray_data_25_pixmap = NULL;
|
static Pixmap gray_data_25_pixmap = 0;
|
||||||
|
|
||||||
static unsigned char solid[solid_list_length] = {1, 0};
|
static unsigned char solid[solid_list_length] = {1, 0};
|
||||||
static unsigned char short_dotted[short_dotted_list_length] = {1, 1};
|
static unsigned char short_dotted[short_dotted_list_length] = {1, 1};
|
||||||
|
@ -513,7 +513,7 @@ gr_create_xcontext(Calendar *c, Widget widget, GR_depth depth, XtAppContext app)
|
||||||
{
|
{
|
||||||
|
|
||||||
new_XContext *xc;
|
new_XContext *xc;
|
||||||
Colormap cms = NULL;
|
Colormap cms = 0;
|
||||||
XGCValues gc_vals, tmp_vals;
|
XGCValues gc_vals, tmp_vals;
|
||||||
GC hilight_gc;
|
GC hilight_gc;
|
||||||
XColor exact_color;
|
XColor exact_color;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue