summaryrefslogtreecommitdiffstats
path: root/win/tkWinImage.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-17 15:14:22 (GMT)
committernijtmans <nijtmans>2010-12-17 15:14:22 (GMT)
commit2136011bcc829e697c8671b58ccc16bf7b52e87a (patch)
tree6709634c255afbf5eb36d05a4af81b5a53c1958c /win/tkWinImage.c
parent52c6cf3289ecc22d178696fb22b0cff1604a27ce (diff)
downloadtk-2136011bcc829e697c8671b58ccc16bf7b52e87a.zip
tk-2136011bcc829e697c8671b58ccc16bf7b52e87a.tar.gz
tk-2136011bcc829e697c8671b58ccc16bf7b52e87a.tar.bz2
refactor isatty() function for Windows
Let TkpDisplayWarning() send the message directly to the debugger, if available, otherwise do as before
Diffstat (limited to 'win/tkWinImage.c')
-rw-r--r--win/tkWinImage.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tkWinImage.c b/win/tkWinImage.c
index aa8e66f..97ce065 100644
--- a/win/tkWinImage.c
+++ b/win/tkWinImage.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinImage.c,v 1.13 2009/08/02 21:40:17 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinImage.c,v 1.14 2010/12/17 15:14:22 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -303,8 +303,7 @@ XGetImageZPixmap(
BOOL ret;
if (format != ZPixmap) {
- TkpDisplayWarning(
- "XGetImageZPixmap: only ZPixmap types are implemented",
+ TkpDisplayWarning("Only ZPixmap types are implemented",
"XGetImageZPixmap Failure");
return NULL;
}