* view.c (display): Removed the call to the empty macros

view_freeze() and view_thaw(). Deleted these macros, as they
	are otherwise unused.
This commit is contained in:
Roland Illig 2005-04-16 18:56:58 +00:00
parent 021e1cb48e
commit 2d8721c745
2 changed files with 3 additions and 5 deletions

View File

@ -18,6 +18,9 @@
expansion. They looked like variables, which was irritating.
* view.c (view_get_datacolumns): Added. Replaced equivalent
expressions to call this function.
* view.c (display): Removed the call to the empty macros
view_freeze() and view_thaw(). Deleted these macros, as they
are otherwise unused.
2005-04-14 Roland Illig <roland.illig@gmx.de>

View File

@ -793,9 +793,6 @@ view_display_clean (WView *view, int height, int width)
#define view_add_string(view,s) addstr (s)
#define view_gotoyx(v,r,c) widget_move (v,r,c)
#define view_freeze(view)
#define view_thaw(view)
typedef enum {
MARK_NORMAL = 0,
MARK_SELECTED = 1,
@ -831,7 +828,6 @@ display (WView *view)
from = view->dpy_text_start;
attrset (NORMAL_COLOR);
view_freeze (view);
view_display_clean (view, height, width);
/* Optionally, display a ruler */
@ -1071,7 +1067,6 @@ display (WView *view)
}
}
view->last = from;
view_thaw (view);
return from;
}