int lines_cap; /* Number of lines allocated. */
int w, l; /* Actual width & length w/o margins, etc. */
int cur_font; /* Current font by OUTP_F_*. */
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
int debug; /* Set by som_text_draw(). */
#endif
};
x->lines = NULL;
x->lines_cap = 0;
x->cur_font = OUTP_F_R;
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
x->debug = 0;
#endif
return 1;
assert (this->driver_open && this->page_open);
if (x1 == x2)
return;
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (x1 > x2
|| x1 < 0 || x1 >= ext->w
|| x2 <= 0 || x2 > ext->w
assert (this->driver_open && this->page_open);
if (y1 == y2)
return;
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (y1 > y2
|| x1 < 0 || x1 >= ext->w
|| y1 < 0 || y1 >= ext->l
int l;
assert (this->driver_open && this->page_open);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (x < 0 || x >= ext->w || y < 0 || y >= ext->l)
{
#if !SUPPRESS_WARNINGS
/* Temporary struct outp_text to pass to low-level function. */
struct outp_text temp;
-#if GLOBAL_DEBUGGING && 0
+#if DEBUGGING && 0
if (!ext->debug)
{
ext->debug = 1;