2016-01-21 23:42:40 +01:00

33 lines
657 B
Plaintext

$NetBSD: patch-aq,v 1.1 2015/09/03 14:49:02 wiz Exp $
--- mvchgat.c.orig 2011-07-05 08:47:10.596708000 +0000
+++ mvchgat.c
@@ -0,0 +1,27 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "mutt.h"
+#include "mutt_curses.h"
+
+#ifndef USE_SLANG_CURSES
+#ifndef HAVE_MVWCHGAT
+int
+mvwchgat(WINDOW *win, int y, int x, int count, attr_t attr, short color,
+ const void *opts)
+{
+ wmove(win, y, x);
+ return wattr_set(win, attr, color, opts);
+}
+#endif
+
+#ifndef HAVE_MVCHGAT
+int
+mvchgat(int y, int x, int count, attr_t attr, short color,
+ const void *opts)
+{
+ return mvwchgat(stdscr, y, x, count, attr, color, opts);
+}
+#endif
+#endif