summaryrefslogtreecommitdiff
path: root/Bitmap.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-14 14:00:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-15 10:08:24 -0800
commitfcfa5f0dee6549994d8c4640fb61612d33369e74 (patch)
treee5181f40c27672e313b06b686800c77a02227fe3 /Bitmap.c
parente3ecaf24ea4187516a1a0679783278e34e56499f (diff)
Call snprintf() directly instead of XmuSnprintf()
All platforms still supported by X.Org have long had snprintf() Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Bitmap.c')
-rw-r--r--Bitmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bitmap.c b/Bitmap.c
index c2fc30e..48bc976 100644
--- a/Bitmap.c
+++ b/Bitmap.c
@@ -35,7 +35,6 @@ from The Open Group.
#include <X11/Xaw/XawInit.h>
#include <X11/Xmu/CharSet.h>
#include <X11/Xmu/Drawing.h>
-#include <X11/Xmu/SysUtil.h>
#include <X11/Xatom.h>
#include <X11/Xfuncs.h>
#include <X11/Xos.h>
@@ -1023,7 +1022,7 @@ BWUnparseStatus(Widget w)
{
BitmapWidget BW = (BitmapWidget) w;
- XmuSnprintf(BW->bitmap.status, sizeof(BW->bitmap.status),
+ snprintf(BW->bitmap.status, sizeof(BW->bitmap.status),
"Filename: %s Basename: %s Size: %dx%d",
(strcmp(BW->bitmap.filename, "") ? BW->bitmap.filename : "<none>"),
(strcmp(BW->bitmap.basename, "") ? BW->bitmap.basename : "<none>"),