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

dtcalc: warning prevention, do not use NULL when you mean 0.

This commit is contained in:
Peter Howkins 2012-08-09 12:07:53 +01:00
parent 70e1c5a55a
commit 697c1522fb

View file

@ -416,7 +416,7 @@ char **argv ;
srand48((long) time((time_t *) 0)) ; /* Seed random number generator. */
make_items() ; /* Create server images and fir frames. */
if(v->display[0] == NULL)
if(v->display[0] == 0)
do_clear() ; /* Initialise and clear display. */
if (v->rstate == TRUE) /* Show the memory register window? */
@ -941,7 +941,7 @@ init_vars() /* Setup default values for various variables. */
v->key_exp = 0 ; /* Not entering an exponent number. */
v->pending_op = 0 ; /* No pending arithmetic operation. */
v->titleline = NULL ; /* No User supplied title line. */
v->display[0] = NULL ;
v->display[0] = 0 ;
v->x = 0;
v->x = 0;