From fcfa5f0dee6549994d8c4640fb61612d33369e74 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 14 Jan 2011 14:00:30 -0800 Subject: Call snprintf() directly instead of XmuSnprintf() All platforms still supported by X.Org have long had snprintf() Signed-off-by: Alan Coopersmith --- Bitmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Bitmap.c') 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 #include #include -#include #include #include #include @@ -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 : ""), (strcmp(BW->bitmap.basename, "") ? BW->bitmap.basename : ""), -- cgit v1.2.3