summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix/tkUnixPort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 7c6177e..c8d842d 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -188,7 +188,7 @@
#ifndef __CYGWIN__
#define TkpPrintWindowId(buf,w) \
- sprintf((buf), "%#08lx", (unsigned long) (w))
+ sprintf((buf), "0x%08lx", (unsigned long) (w))
#endif
/*