_poDefaultMargin,
_poDefaultMargin,
&parseError );
- assert(parseError == NULL);
+ assert(parseError == 0);
return pOutput;
}
int nbytes;
FILE *fp = NULL;
- if (file == NULL || *file == NULL) return
+ if (file == NULL || *file == '\0') return
/*
* Open the file for reading.
xrm_name[0] = XrmStringToQuark ("pads");
xrm_name[1] = XrmStringToQuark ("numActivePads");
- xrm_name[2] = NULL;
+ xrm_name[2] = 0;
XrmQGetResource (db, xrm_name, xrm_name, &rep_type, &value);
numPadsToRestore = atoi((char *)value.addr);
* we can find.
*/
xrm_name[0] = XrmStringToQuark ("mainWindow");
- xrm_name[2] = NULL;
+ xrm_name[2] = 0;
/* get x position */
xrm_name[1] = XrmStringToQuark ("x");
sprintf(buf, "mainWindow%d", padNum);
xrm_name[0] = XrmStringToQuark(buf);
- xrm_name[2] = NULL;
+ xrm_name[2] = 0;
/* get x position */
xrm_name[1] = XrmStringToQuark ("x");