diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-14 14:00:30 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-15 10:08:24 -0800 |
commit | fcfa5f0dee6549994d8c4640fb61612d33369e74 (patch) | |
tree | e5181f40c27672e313b06b686800c77a02227fe3 /Bitmap.c | |
parent | e3ecaf24ea4187516a1a0679783278e34e56499f (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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>"), |