summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r--Build/source/texk/xdvik/ChangeLog5
-rw-r--r--Build/source/texk/xdvik/hypertex.h2
-rw-r--r--Build/source/texk/xdvik/xdvi.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/ChangeLog b/Build/source/texk/xdvik/ChangeLog
index 1ee7d107bf1..357af7a17ae 100644
--- a/Build/source/texk/xdvik/ChangeLog
+++ b/Build/source/texk/xdvik/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * xdvi.c (set_windowsize): Use "%u" to print unsigned int.
+ * hypertex.h: Correct typo in spelling of header guard.
+
2014-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* encodings.c: Do not compile close_iconv() when not used.
diff --git a/Build/source/texk/xdvik/hypertex.h b/Build/source/texk/xdvik/hypertex.h
index f103b45ef4e..43dcb987197 100644
--- a/Build/source/texk/xdvik/hypertex.h
+++ b/Build/source/texk/xdvik/hypertex.h
@@ -21,7 +21,7 @@
*/
#ifndef HYPERTEX_H_
-#define HTEXTEX_H_
+#define HYPERTEX_H_
/* fallbacks if parsing user-specified colors fails */
#define LINK_COLOR_FALLBACK "BLUE2"
diff --git a/Build/source/texk/xdvik/xdvi.c b/Build/source/texk/xdvik/xdvi.c
index 4bf3a4642be..cd749c54a30 100644
--- a/Build/source/texk/xdvik/xdvi.c
+++ b/Build/source/texk/xdvik/xdvi.c
@@ -1270,7 +1270,7 @@ set_windowsize(Dimension *ret_w, Dimension *ret_h, int add_w, int add_h, Boolean
/* warn about bad values */
if (flags & WidthValue) {
if (width > (unsigned int)(2 * bwidth + add_w)) {
- TRACE_GUI((stderr, "width: %hu, bwidth: %hu, add_w: %d",
+ TRACE_GUI((stderr, "width: %u, bwidth: %hu, add_w: %d",
width, bwidth, add_w));
reply.width = width - 2 * bwidth - add_w;
}
@@ -1280,7 +1280,7 @@ set_windowsize(Dimension *ret_w, Dimension *ret_h, int add_w, int add_h, Boolean
}
if (flags & HeightValue) {
if (height > (unsigned int)(2 * bwidth + add_h)) {
- TRACE_GUI((stderr, "height: %hu, bwidth: %hu, add_h: %d",
+ TRACE_GUI((stderr, "height: %u, bwidth: %hu, add_h: %d",
height, bwidth, add_h));
reply.height = height - 2 * bwidth - add_h;
}