From 5f8448ef6b85a9ff72c5af4cec99183c8bb60dc6 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 10 Apr 2012 14:58:33 +0200 Subject: Updated following packages: bigreqsproto-1.1.2 fontsproto-2.1.2 recordproto-1.14.2 scrnsaverproto-1.2.2 xcmiscproto-1.2.2 libXt-1.1.3 xhost-1.0.5 kbproto-1.0.6 libXrender-0.9.7 libxkbfile-1.0.8 freetype-2.4.9 libXaw-1.0.10 libXpm-3.5.10 xproto-7.0.23 --- libXaw/src/DisplayList.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libXaw/src/DisplayList.c') diff --git a/libXaw/src/DisplayList.c b/libXaw/src/DisplayList.c index 6549650e7..4ef89aa0a 100644 --- a/libXaw/src/DisplayList.c +++ b/libXaw/src/DisplayList.c @@ -10,7 +10,7 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -39,7 +39,6 @@ #include #include #include -#include #include "Private.h" #ifdef __UNIXOS2__ @@ -273,8 +272,8 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, { char msg[256]; - XmuSnprintf(msg, sizeof(msg), - "Error parsing displayList at \"%s\"", lp); + snprintf(msg, sizeof(msg), + "Error parsing displayList at \"%s\"", lp); XtAppWarning(XtDisplayToApplicationContext(DisplayOfScreen(screen)), msg); XawDestroyDisplayList(dlist); @@ -291,15 +290,15 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, } if (fp) { - XmuSnprintf(cname, fp - fname + 1, fname); + snprintf(cname, fp - fname + 1, fname); memmove(fname, fp + 1, strlen(fp)); lc = cname[0] ? XawGetDisplayListClass(cname) : xlibc; if (!lc) { char msg[256]; - XmuSnprintf(msg, sizeof(msg), - "Cannot find displayList class \"%s\"", cname); + snprintf(msg, sizeof(msg), + "Cannot find displayList class \"%s\"", cname); XtAppWarning(XtDisplayToApplicationContext (DisplayOfScreen(screen)), msg); XawDestroyDisplayList(dlist); @@ -316,8 +315,8 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, { char msg[256]; - XmuSnprintf(msg, sizeof(msg), - "Cannot find displayList procedure \"%s\"", fname); + snprintf(msg, sizeof(msg), + "Cannot find displayList procedure \"%s\"", fname); XtAppWarning(XtDisplayToApplicationContext(DisplayOfScreen(screen)), msg); XawDestroyDisplayList(dlist); @@ -355,8 +354,8 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, { char msg[256]; - XmuSnprintf(msg, sizeof(msg), - "Error parsing displayList at \"%s\"", lp); + snprintf(msg, sizeof(msg), + "Error parsing displayList at \"%s\"", lp); XtAppWarning(XtDisplayToApplicationContext (DisplayOfScreen(screen)), msg); XawDestroyDisplayList(dlist); @@ -420,8 +419,9 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, char msg[256]; proc->args = NULL; - XmuSnprintf(msg, sizeof(msg), - "Cannot convert arguments to displayList function \"%s\"", fname); + snprintf(msg, sizeof(msg), + "Cannot convert arguments to displayList function \"%s\"", + fname); XtAppWarning(XtDisplayToApplicationContext (DisplayOfScreen(screen)), msg); XawDestroyDisplayList(dlist); -- cgit v1.2.3