diff --git a/src/hscroll.c b/src/hscroll.c
index 164f178fa3fdff826897e1234f60a88c3bc6f1fd..dafae93dee2dc3a0d9190267c34aa62e0e63d54d 100644 (file)
--- a/src/hscroll.c
+++ b/src/hscroll.c
#include "hscroll.h"
#include "charset.h"
+#include "ncfix.h"
#include "glib_compat.h"
#include <assert.h>
/* obtain the ncurses attributes and the current color, store
them */
- wattr_get(hscroll->w, &hscroll->attrs, &hscroll->pair, NULL);
+ fix_wattr_get(hscroll->w, &hscroll->attrs, &hscroll->pair, NULL);
hscroll->text = g_strdup(text);
hscroll->offset = 0;
assert(hscroll->text != NULL);
/* set stored attributes and color */
- wattr_get(hscroll->w, &old_attrs, &old_pair, NULL);
+ fix_wattr_get(hscroll->w, &old_attrs, &old_pair, NULL);
wattr_set(hscroll->w, hscroll->attrs, hscroll->pair, NULL);
/* scroll the string, and draw it */