+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with these librararies and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
/* $XConsortium: x_graphics.c /main/15 1996/11/25 10:29:30 rswiston $ */
/*
* (c) Copyright 1996 Digital Equipment Corporation.
#define XOS_USE_XT_LOCKING
#define X_INCLUDE_TIME_H
+#if defined(linux)
+#undef SVR4
+#endif
#include <X11/Xos_r.h>
/*
if (stat != CSA_SUCCESS)
{
free_appt_struct(&appt);
- return;
+ return 0;
}
skip_appt = B_FALSE;
NULL, 0);
#endif
+#if defined(PRINTING_SUPPORTED)
+
#ifdef GR_DEBUG
if (!inDebugMode(c))
{
#ifdef GR_DEBUG
}
#endif
+#endif /* PRINTING_SUPPORTED */
+
nargs = 0;
#ifdef SHELL_SIZE_BUG
/* HH:MM xm - HH:MM xm format */
format_line2(appt, buf1, buf2, dt);
- indented = (*buf1 != NULL);
+ indented = (*buf1 != '\0');
indentAmt = (view == dayGlance) ? 0 : 1;
if (indented)
indentAmt += 2;
"Appt List Beginning: %s"), buf2);
setup_range(&range_attrs, &ops, &i, start, end, appt_type,
- NULL, B_FALSE, c->general->version);
+ 0, B_FALSE, c->general->version);
stat = csa_list_entries(c->cal_handle, i, range_attrs,
ops, &a_total, &list, NULL);
if (stat != CSA_SUCCESS) {
{
get_time_str(appt, buf1);
- indented = (*buf1 != NULL);
+ indented = (*buf1 != '\0');
lines = text_to_lines(appt->what->value->item.string_value, 1);
line_counter++;