Some callers of myWCWIDTH(), a macro alias for cell_width(),
won't cope with -1.
Index: frm_driver.c
===================================================================
RCS file: /cvs/src/lib/libform/frm_driver.c,v
retrieving revision 1.10
diff -u -p -r1.10 frm_driver.c
--- frm_driver.c 18 Jan 2011 18:57:51 -0000 1.10
+++ frm_driver.c 3 Apr 2011 21:48:02 -0000
@@ -322,7 +322,7 @@ cell_width(WINDOW *win, int y, int x)
result = wcwidth(CharOf(CHDEREF(data)));
}
}
- return result;
+ return result == -1 ? 0 : result;
}
/*